Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.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.001366/0.001366, allocations: 91.66 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.001162/0.001162, 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 0.9068/0.9068, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.556/1.556, allocations: 273.5 MB / 0.5213 GB, free: 14.83 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.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.647 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.315e-05, allocations: 2.312 kB / 0.647 GB, free: 38.72 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.001719/0.001732, allocations: 2.061 MB / 0.649 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0005696/0.002302, allocations: 0.5459 MB / 0.6495 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.002365, allocations: 2.156 kB / 0.6495 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.679e-05/0.002462, allocations: 18.8 kB / 0.6495 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.002576, allocations: 54.34 kB / 0.6496 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.002712, allocations: 41.61 kB / 0.6496 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.002902, allocations: 188.3 kB / 0.6498 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.003007, allocations: 34.45 kB / 0.6498 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.00311, allocations: 108.3 kB / 0.6499 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.003205, allocations: 60.97 kB / 0.65 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.003233, allocations: 16.78 kB / 0.65 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.003251, allocations: 13.28 kB / 0.65 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.003278, allocations: 23.84 kB / 0.6501 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.003336, allocations: 61.59 kB / 0.6501 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003474, allocations: 125.9 kB / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003476, allocations: 0 / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003476, allocations: 0 / 0.6502 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00348, allocations: 0 / 0.6502 GB, free: 36.71 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004885/0.003969, allocations: 0.5145 MB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.004003, allocations: 12.67 kB / 0.6508 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.004059, allocations: 26.06 kB / 0.6508 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.004233, allocations: 173.5 kB / 0.6509 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004245, allocations: 11.28 kB / 0.651 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.004271, allocations: 14.56 kB / 0.651 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.004435, allocations: 138 kB / 0.6511 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.004449, allocations: 16.91 kB / 0.6511 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.004461, allocations: 6.094 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.00447, allocations: 4.719 kB / 0.6511 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.004563, allocations: 82.78 kB / 0.6512 GB, free: 35.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.004937, allocations: 398.2 kB / 0.6516 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.00507, allocations: 127.4 kB / 0.6517 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.005122, allocations: 65.64 kB / 0.6518 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.00513, allocations: 3.625 kB / 0.6518 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.005271, allocations: 192.9 kB / 0.652 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.005273, allocations: 0 / 0.652 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.000629/0.005902, allocations: 0.5768 MB / 0.6525 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.005926, allocations: 140.9 kB / 0.6527 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.006007, allocations: 201.9 kB / 0.6528 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.00602, allocations: 33.2 kB / 0.6529 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.006058, allocations: 154.7 kB / 0.653 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.006088, allocations: 72.7 kB / 0.6531 GB, free: 34.28 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.006139, allocations: 52.55 kB / 0.6531 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.006185, allocations: 0.497 MB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.006256, allocations: 106.4 kB / 0.6537 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.00634, allocations: 190.8 kB / 0.6539 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.006523, allocations: 323.5 kB / 0.6542 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006525, allocations: 3.75 kB / 0.6542 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002499/0.006775, allocations: 311.9 kB / 0.6545 GB, free: 32.96 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.006801, allocations: 62.03 kB / 0.6546 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.006806, allocations: 7.719 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.00682, allocations: 3.938 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.006956, allocations: 49.28 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.006965, allocations: 5.625 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.007039, allocations: 19.27 kB / 0.6547 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.007051, allocations: 8.031 kB / 0.6547 GB, free: 32.88 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" 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 central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,central.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001178/0.007168, allocations: 228.4 kB / 0.6549 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.007192, allocations: 23.47 kB / 0.6549 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.007217, allocations: 16.09 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.007222, allocations: 3.75 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.007224, allocations: 3.703 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.00724, allocations: 21.38 kB / 0.655 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.007264, allocations: 7.438 kB / 0.655 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.677e-05/0.00731, allocations: 10.25 kB / 0.655 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.007362, allocations: 17.78 kB / 0.655 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002702/0.007632, allocations: 365.1 kB / 0.6553 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002758/0.007908, allocations: 0.561 MB / 0.6559 GB, free: 31.93 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.411e-05/0.007982, allocations: 88.39 kB / 0.656 GB, free: 31.87 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.008022, allocations: 150.1 kB / 0.6561 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of Backend: time 2.5e-07/0.008023, allocations: 3.438 kB / 0.6561 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.008399, allocations: 344.8 kB / 0.6564 GB, free: 31.45 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001151/0.00955, allocations: 1.259 MB / 0.6577 GB, free: 30.36 MB / 0.5262 GB Notification: Performance of Templates: time 0.003908/0.01346, allocations: 2.579 MB / 0.6602 GB, free: 30.17 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.664098006207496]