Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 91.55 kB / 20.19 MB, free: 4.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 169 kB / 23.5 MB, free: 1.043 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.597/1.597, allocations: 273.5 MB / 0.5213 GB, free: 14.8 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.6481 GB, free: 37.92 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.296e-05, allocations: 2.312 kB / 0.6481 GB, free: 37.92 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium): time 0.002698/0.002711, allocations: 4.128 MB / 0.6521 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.003431, allocations: 0.7174 MB / 0.6528 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.003521, allocations: 3.469 kB / 0.6528 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.003631, allocations: 39.98 kB / 0.6529 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.003792, allocations: 111.4 kB / 0.653 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.004022, allocations: 91.81 kB / 0.6531 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.004263, allocations: 385.5 kB / 0.6534 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004385, allocations: 48.83 kB / 0.6535 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.004555, allocations: 201 kB / 0.6537 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.004729, allocations: 110.2 kB / 0.6538 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.004763, allocations: 27.06 kB / 0.6538 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.103e-05/0.004794, allocations: 27.75 kB / 0.6538 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.004826, allocations: 64.02 kB / 0.6539 GB, free: 34.17 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.004914, allocations: 108 kB / 0.654 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.005105, allocations: 219.6 kB / 0.6542 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005107, allocations: 1.375 kB / 0.6542 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005108, allocations: 0 / 0.6542 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005112, allocations: 0 / 0.6542 GB, free: 34.02 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005921/0.005704, allocations: 0.6784 MB / 0.6549 GB, free: 33.42 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.005737, allocations: 12.41 kB / 0.6549 GB, free: 33.42 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.005806, allocations: 49.22 kB / 0.6549 GB, free: 33.4 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.005978, allocations: 217.3 kB / 0.6551 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.005993, allocations: 13.5 kB / 0.6552 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.006027, allocations: 29.02 kB / 0.6552 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.006286, allocations: 259.8 kB / 0.6554 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.0063, allocations: 5.141 kB / 0.6554 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.006317, allocations: 8.812 kB / 0.6554 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.006325, allocations: 5.875 kB / 0.6554 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.00648, allocations: 159.4 kB / 0.6556 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.007093, allocations: 0.673 MB / 0.6563 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.007361, allocations: 193.9 kB / 0.6564 GB, free: 32.28 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.044e-05/0.007451, allocations: 116.2 kB / 0.6566 GB, free: 32.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.007471, allocations: 8.141 kB / 0.6566 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.007672, allocations: 329 kB / 0.6569 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.007674, allocations: 0 / 0.6569 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of matching and sorting (n=36): time 0.001061/0.008735, allocations: 0.9525 MB / 0.6578 GB, free: 31.27 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.008772, allocations: 213.5 kB / 0.658 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.008939, allocations: 288 kB / 0.6583 GB, free: 30.81 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.00896, allocations: 34.14 kB / 0.6583 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.009018, allocations: 190 kB / 0.6585 GB, free: 30.61 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.009076, allocations: 120.3 kB / 0.6586 GB, free: 30.51 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.009149, allocations: 80.33 kB / 0.6587 GB, free: 30.46 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.009203, allocations: 0.5117 MB / 0.6592 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.00931, allocations: 161.1 kB / 0.6593 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.009444, allocations: 293.9 kB / 0.6596 GB, free: 29.54 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.009751, allocations: 0.5294 MB / 0.6601 GB, free: 29.05 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009753, allocations: 0 / 0.6601 GB, free: 29.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003579/0.01011, allocations: 488.6 kB / 0.6606 GB, free: 28.75 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.01014, allocations: 99.06 kB / 0.6607 GB, free: 28.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01014, allocations: 2.844 kB / 0.6607 GB, free: 28.65 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01016, allocations: 4.25 kB / 0.6607 GB, free: 28.65 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.01034, allocations: 84.92 kB / 0.6608 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01035, allocations: 4.188 kB / 0.6608 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01046, allocations: 18.78 kB / 0.6608 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.01048, allocations: 20.53 kB / 0.6608 GB, free: 28.63 MB / 0.5262 GB Warning: Assuming fixed start value for the following 10 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.absorptionLumen.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real periodicDose.absorptionLumen.rising:DISCRETE(fixed = true protected = true ) type: Boolean central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.absorptionLumen.Cmin,periodicDose.absorptionLumen.Cmin,$PRE.periodicDose.absorptionLumen.Cmax,periodicDose.absorptionLumen.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.periodicDose.absorptionLumen.rising,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,periodicDose.absorptionLumen.rising,central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.01063, allocations: 292 kB / 0.6611 GB, free: 28.38 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.01066, allocations: 45.03 kB / 0.6611 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.0107, allocations: 31.81 kB / 0.6612 GB, free: 28.33 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.0107, allocations: 0 / 0.6612 GB, free: 28.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.0107, allocations: 2.438 kB / 0.6612 GB, free: 28.33 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.01077, allocations: 51.28 kB / 0.6612 GB, free: 28.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.01081, allocations: 18.94 kB / 0.6612 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.01088, allocations: 12.41 kB / 0.6613 GB, free: 28.29 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.01094, allocations: 32.12 kB / 0.6613 GB, free: 28.28 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004193/0.01136, allocations: 0.5146 MB / 0.6618 GB, free: 27.95 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004434/0.0118, allocations: 0.7888 MB / 0.6626 GB, free: 27.36 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001151/0.01192, allocations: 167.5 kB / 0.6627 GB, free: 27.25 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.52e-05/0.01199, allocations: 196 kB / 0.6629 GB, free: 27.12 MB / 0.5262 GB Notification: Performance of Backend: time 2.41e-07/0.01199, allocations: 1.031 kB / 0.6629 GB, free: 27.12 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.01243, allocations: 486.5 kB / 0.6634 GB, free: 26.73 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001588/0.01401, allocations: 1.588 MB / 0.6649 GB, free: 25.4 MB / 0.5262 GB Notification: Performance of Templates: time 0.005966/0.01998, allocations: 4.692 MB / 0.6695 GB, free: 25.06 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855419571977109]