Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.000916/0.000916, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.0009171/0.0009171, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9436/0.9436, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.575/1.575, allocations: 273.5 MB / 0.5212 GB, free: 14.66 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.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6474 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.706e-05, allocations: 3.562 kB / 0.6474 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.001661/0.001678, allocations: 1.738 MB / 0.6491 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002227/0.001901, allocations: 92.55 kB / 0.6492 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.001962, allocations: 0 / 0.6492 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.002083, allocations: 10.44 kB / 0.6492 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.002166, allocations: 27.73 kB / 0.6492 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 8.292e-05/0.002249, allocations: 15.81 kB / 0.6492 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.002378, allocations: 88.22 kB / 0.6493 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.002464, allocations: 14.92 kB / 0.6493 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.002525, allocations: 47.62 kB / 0.6494 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.002592, allocations: 20.66 kB / 0.6494 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.00261, allocations: 6.812 kB / 0.6494 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.002623, allocations: 7.625 kB / 0.6494 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.002648, allocations: 20.33 kB / 0.6494 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.002683, allocations: 20.7 kB / 0.6495 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.002782, allocations: 55.55 kB / 0.6495 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002784, allocations: 3.656 kB / 0.6495 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002785, allocations: 0 / 0.6495 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002788, allocations: 0 / 0.6495 GB, free: 37.23 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003014/0.00309, allocations: 417.8 kB / 0.6499 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.003127, allocations: 12.78 kB / 0.6499 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.00316, allocations: 14.06 kB / 0.6499 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.003252, allocations: 125.6 kB / 0.6501 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.003261, allocations: 12.91 kB / 0.6501 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.003281, allocations: 4.562 kB / 0.6501 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.003367, allocations: 90.16 kB / 0.6502 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.003378, allocations: 5.672 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003386, allocations: 5.875 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003391, allocations: 2.375 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.615e-05/0.003448, allocations: 59.34 kB / 0.6502 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.0037, allocations: 288.4 kB / 0.6505 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.772e-05/0.003767, allocations: 92.08 kB / 0.6506 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.003792, allocations: 49 kB / 0.6506 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.003799, allocations: 3.688 kB / 0.6506 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.381e-05/0.003892, allocations: 169.2 kB / 0.6508 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.003894, allocations: 0 / 0.6508 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0004528/0.004347, allocations: 450.8 kB / 0.6512 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.004381, allocations: 138.9 kB / 0.6514 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.53e-05/0.004426, allocations: 171.6 kB / 0.6515 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.004433, allocations: 31.45 kB / 0.6516 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.004456, allocations: 140.6 kB / 0.6517 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.004482, allocations: 43.78 kB / 0.6517 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.004514, allocations: 33.52 kB / 0.6518 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.004569, allocations: 0.4941 MB / 0.6522 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.004602, allocations: 49.94 kB / 0.6523 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.004645, allocations: 96.58 kB / 0.6524 GB, free: 34.42 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.004741, allocations: 203.4 kB / 0.6526 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.004742, allocations: 0 / 0.6526 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001237/0.004866, allocations: 172.1 kB / 0.6527 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.004889, allocations: 37.05 kB / 0.6528 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004894, allocations: 0 / 0.6528 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.004906, allocations: 5.75 kB / 0.6528 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.004983, allocations: 30.8 kB / 0.6528 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.004988, allocations: 7.641 kB / 0.6528 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.005018, allocations: 3.812 kB / 0.6528 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.005025, allocations: 7.656 kB / 0.6528 GB, free: 34.07 MB / 0.5262 GB Warning: Assuming fixed start value for the following 4 variables: 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: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001096/0.005135, allocations: 220.9 kB / 0.653 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.00515, allocations: 10.81 kB / 0.6531 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.005178, allocations: 12.44 kB / 0.6531 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.00518, allocations: 3.656 kB / 0.6531 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.005181, allocations: 0 / 0.6531 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.005186, allocations: 3.234 kB / 0.6531 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.005436, allocations: 431.2 kB / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.005438, allocations: 1.5 kB / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.005505, allocations: 19.69 kB / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.005508, allocations: 0 / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.005517, allocations: 7.766 kB / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005518, allocations: 0 / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.005519, allocations: 0 / 0.6535 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.005714, allocations: 389.9 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.005724, allocations: 8.922 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.005739, allocations: 7.75 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.005774, allocations: 2 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.005807, allocations: 10.91 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.005814, allocations: 3.375 kB / 0.6539 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.005838, allocations: 129 kB / 0.654 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.005838, allocations: 1.312 kB / 0.654 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001601/0.005998, allocations: 27.5 kB / 0.6541 GB, free: 33.04 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 6.026e-05/0.006058, allocations: 96.12 kB / 0.6542 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.006193, allocations: 194.8 kB / 0.6543 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.02e-07/0.006194, allocations: 1.188 kB / 0.6543 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.006253, allocations: 123.1 kB / 0.6545 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.006462, allocations: 24.53 kB / 0.6545 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008394/0.007301, allocations: 408.6 kB / 0.6549 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.875e-05/0.00733, allocations: 67.03 kB / 0.6549 GB, free: 32.34 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.007357, allocations: 11.33 kB / 0.655 GB, free: 32.33 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.007428, allocations: 106.8 kB / 0.6551 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of SimCode: time 7.21e-07/0.007429, allocations: 0 / 0.6551 GB, free: 32.26 MB / 0.5262 GB Notification: Performance of Templates: time 0.002994/0.01042, allocations: 1.369 MB / 0.6564 GB, free: 32.11 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6466219057329]