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.001027/0.001027, allocations: 77.09 kB / 20.66 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.0009523/0.0009523, allocations: 169 kB / 24.06 MB, free: 456 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.9456/0.9456, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.522 GB, free: 14.7 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.413e-06/1.413e-06, allocations: 0 / 0.6482 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.436e-05, allocations: 5.406 kB / 0.6482 GB, free: 38.42 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002352/0.002366, allocations: 1.738 MB / 0.6499 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000281/0.002647, allocations: 88.92 kB / 0.6499 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.002712, allocations: 0 / 0.6499 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.002815, allocations: 11.36 kB / 0.65 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.002928, allocations: 26.03 kB / 0.65 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.003038, allocations: 19.81 kB / 0.65 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.003217, allocations: 85.83 kB / 0.6501 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003321, allocations: 18.83 kB / 0.6501 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.081e-05/0.003402, allocations: 38.84 kB / 0.6501 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.003492, allocations: 25.09 kB / 0.6502 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.003518, allocations: 7.188 kB / 0.6502 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.003536, allocations: 7.094 kB / 0.6502 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.003565, allocations: 11.42 kB / 0.6502 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.003617, allocations: 28.45 kB / 0.6502 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.003751, allocations: 61.2 kB / 0.6503 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003754, allocations: 2.781 kB / 0.6503 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003754, allocations: 0 / 0.6503 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.003757, allocations: 3.938 kB / 0.6503 GB, free: 37.11 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.000326/0.004083, allocations: 414 kB / 0.6507 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.00412, allocations: 11.19 kB / 0.6507 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.004161, allocations: 10.64 kB / 0.6507 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.004277, allocations: 133.2 kB / 0.6508 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.004288, allocations: 2.062 kB / 0.6508 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.004312, allocations: 10.22 kB / 0.6508 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.00442, allocations: 85.97 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.004433, allocations: 2.188 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004444, allocations: 7.938 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.00445, allocations: 6.75 kB / 0.6509 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.004528, allocations: 57.64 kB / 0.651 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.004836, allocations: 286.9 kB / 0.6513 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.004937, allocations: 96.61 kB / 0.6514 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.004964, allocations: 51.41 kB / 0.6514 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.004972, allocations: 6.359 kB / 0.6514 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.167e-05/0.005064, allocations: 157.1 kB / 0.6516 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.005065, allocations: 1.281 kB / 0.6516 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0005907/0.005656, allocations: 459.2 kB / 0.652 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.005692, allocations: 137.2 kB / 0.6521 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.00575, allocations: 173.6 kB / 0.6523 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.00576, allocations: 25.7 kB / 0.6523 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.005788, allocations: 135.7 kB / 0.6524 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.005822, allocations: 46.3 kB / 0.6525 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.005862, allocations: 35 kB / 0.6525 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.00592, allocations: 0.4911 MB / 0.653 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.005967, allocations: 56 kB / 0.6531 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.006018, allocations: 93.97 kB / 0.6531 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.006154, allocations: 203.5 kB / 0.6533 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006155, allocations: 0 / 0.6533 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001884/0.006344, allocations: 178.5 kB / 0.6535 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.00637, allocations: 31.7 kB / 0.6535 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.006376, allocations: 2.281 kB / 0.6535 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006387, allocations: 2.781 kB / 0.6535 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.006511, allocations: 31.3 kB / 0.6536 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.006518, allocations: 13.5 kB / 0.6536 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.006554, allocations: 1.469 kB / 0.6536 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.006562, allocations: 8.938 kB / 0.6536 GB, free: 33.96 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.000141/0.006703, allocations: 215 kB / 0.6538 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.006733, allocations: 8.375 kB / 0.6538 GB, free: 33.76 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.006762, allocations: 11.28 kB / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.006766, allocations: 1.969 kB / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.006768, allocations: 0 / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.006773, allocations: 4.641 kB / 0.6538 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.007107, allocations: 435.7 kB / 0.6542 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007108, allocations: 1.5 kB / 0.6542 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.007205, allocations: 19.45 kB / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007208, allocations: 0 / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.007221, allocations: 3.375 kB / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007224, allocations: 6.594 kB / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007225, allocations: 0 / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.007475, allocations: 384.8 kB / 0.6546 GB, free: 33.06 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.007488, allocations: 7.734 kB / 0.6546 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.00751, allocations: 7.531 kB / 0.6547 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.007576, allocations: 1.938 kB / 0.6547 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.00761, allocations: 6.203 kB / 0.6547 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.007619, allocations: 9.5 kB / 0.6547 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.007651, allocations: 129.8 kB / 0.6548 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.007651, allocations: 1.312 kB / 0.6548 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002561/0.007907, allocations: 32.16 kB / 0.6548 GB, free: 32.92 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 7.468e-05/0.007982, allocations: 98.31 kB / 0.6549 GB, free: 32.84 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.008136, allocations: 185.9 kB / 0.6551 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008137, allocations: 0 / 0.6551 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.008208, allocations: 134.4 kB / 0.6552 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.008496, allocations: 19.94 kB / 0.6552 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.009364, allocations: 410.2 kB / 0.6556 GB, free: 32.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.009393, allocations: 70.58 kB / 0.6557 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.009421, allocations: 6.375 kB / 0.6557 GB, free: 32.22 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.009493, allocations: 102.2 kB / 0.6558 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of SimCode: time 5.41e-07/0.009493, allocations: 0 / 0.6558 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of Templates: time 0.0027/0.01219, allocations: 1.399 MB / 0.6572 GB, free: 32.01 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.465544494334608]