Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.0009709/0.0009709, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009714/0.0009714, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9486/0.9486, allocations: 177.1 MB / 204.5 MB, free: 5.152 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.628/1.628, allocations: 273.5 MB / 0.522 GB, free: 14.67 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.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6482 GB, free: 38.44 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.587e-05, allocations: 2.312 kB / 0.6482 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.002747/0.002773, allocations: 1.726 MB / 0.6498 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.003022, allocations: 93.7 kB / 0.6499 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.003077, allocations: 2.219 kB / 0.6499 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.29e-05/0.00317, allocations: 8.359 kB / 0.6499 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.003263, allocations: 27.62 kB / 0.65 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 8.619e-05/0.00335, allocations: 20.81 kB / 0.65 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.003487, allocations: 85.33 kB / 0.6501 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.003579, allocations: 14.3 kB / 0.6501 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.003636, allocations: 47.55 kB / 0.6501 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.003712, allocations: 23.16 kB / 0.6501 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.00373, allocations: 7.906 kB / 0.6502 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.003742, allocations: 3.344 kB / 0.6502 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.003766, allocations: 18.14 kB / 0.6502 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.003804, allocations: 24.62 kB / 0.6502 GB, free: 37.15 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.003904, allocations: 56.66 kB / 0.6503 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.003908, allocations: 0 / 0.6503 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00391, allocations: 0 / 0.6503 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003914, allocations: 2.281 kB / 0.6503 GB, free: 37.13 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.0003177/0.004231, allocations: 410.2 kB / 0.6506 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.004264, allocations: 10.47 kB / 0.6507 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.004298, allocations: 16.36 kB / 0.6507 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.461e-05/0.004393, allocations: 132.9 kB / 0.6508 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.004402, allocations: 14.12 kB / 0.6508 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004421, allocations: 9.406 kB / 0.6508 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.004513, allocations: 84.05 kB / 0.6509 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.004523, allocations: 1.812 kB / 0.6509 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.004532, allocations: 11 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.004538, allocations: 5.703 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.004598, allocations: 57.55 kB / 0.651 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.004854, allocations: 292.4 kB / 0.6513 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.394e-05/0.004928, allocations: 93.94 kB / 0.6513 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.004955, allocations: 50.34 kB / 0.6514 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.004962, allocations: 3.562 kB / 0.6514 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.719e-05/0.005059, allocations: 165.3 kB / 0.6516 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 8.31e-07/0.00506, allocations: 0 / 0.6516 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0004529/0.005513, allocations: 449.4 kB / 0.652 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.005546, allocations: 134.8 kB / 0.6521 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.005592, allocations: 174.6 kB / 0.6523 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.0056, allocations: 32.08 kB / 0.6523 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.005621, allocations: 131.4 kB / 0.6524 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.005651, allocations: 45.12 kB / 0.6525 GB, free: 35 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.005684, allocations: 44.39 kB / 0.6525 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.00573, allocations: 0.4902 MB / 0.653 GB, free: 34.47 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.976e-05/0.00576, allocations: 53.03 kB / 0.653 GB, free: 34.42 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.005796, allocations: 88.09 kB / 0.6531 GB, free: 34.33 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.005885, allocations: 194.1 kB / 0.6533 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005886, allocations: 1.562 kB / 0.6533 GB, free: 34.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001258/0.006012, allocations: 180 kB / 0.6535 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.006034, allocations: 35 kB / 0.6535 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.006038, allocations: 3.875 kB / 0.6535 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.006047, allocations: 1.719 kB / 0.6535 GB, free: 33.99 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.00613, allocations: 34.53 kB / 0.6536 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006134, allocations: 5.453 kB / 0.6536 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.006165, allocations: 4.594 kB / 0.6536 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.006171, allocations: 5 kB / 0.6536 GB, free: 33.98 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.0001051/0.006276, allocations: 223.7 kB / 0.6538 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.00629, allocations: 11.81 kB / 0.6538 GB, free: 33.77 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.006313, allocations: 9.969 kB / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006316, allocations: 3.219 kB / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.006318, allocations: 0 / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.006322, allocations: 0 / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.006546, allocations: 428.5 kB / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006547, allocations: 0 / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.006609, allocations: 24.44 kB / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.006611, allocations: 0 / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.006618, allocations: 3.125 kB / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.006619, allocations: 1.688 kB / 0.6542 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006621, allocations: 3.422 kB / 0.6543 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.006793, allocations: 391.9 kB / 0.6546 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.0068, allocations: 1.875 kB / 0.6546 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006813, allocations: 8.344 kB / 0.6546 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.006848, allocations: 4.375 kB / 0.6546 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.006876, allocations: 6.766 kB / 0.6546 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.006883, allocations: 9.25 kB / 0.6547 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.006903, allocations: 131.6 kB / 0.6548 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.006903, allocations: 0 / 0.6548 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001576/0.007061, allocations: 21.53 kB / 0.6548 GB, free: 32.94 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.196e-05/0.007123, allocations: 101.7 kB / 0.6549 GB, free: 32.85 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.007243, allocations: 195.4 kB / 0.6551 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.007244, allocations: 0 / 0.6551 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.007295, allocations: 123.2 kB / 0.6552 GB, free: 32.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.007494, allocations: 32.64 kB / 0.6552 GB, free: 32.58 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.008305, allocations: 415.5 kB / 0.6556 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.666e-05/0.008332, allocations: 65.92 kB / 0.6557 GB, free: 32.25 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.008359, allocations: 6.406 kB / 0.6557 GB, free: 32.24 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.008425, allocations: 94.12 kB / 0.6558 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of SimCode: time 5.81e-07/0.008426, allocations: 1.875 kB / 0.6558 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of Templates: time 0.002826/0.01125, allocations: 1.407 MB / 0.6572 GB, free: 32.02 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.572126647923142]