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.001158/0.001158, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001129/0.001129, allocations: 174.3 kB / 23.21 MB, free: 1.328 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.9816/0.9816, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.571/1.571, allocations: 273.5 MB / 0.5209 GB, free: 15.05 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=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 1.422 kB / 0.7558 GB, free: 10.8 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.728e-05, allocations: 4.391 kB / 0.7558 GB, free: 10.8 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002193/0.00222, allocations: 1.678 MB / 0.7574 GB, free: 9.121 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0002975/0.002518, allocations: 83.7 kB / 0.7575 GB, free: 9.039 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.002587, allocations: 0 / 0.7575 GB, free: 9.039 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.002714, allocations: 11.86 kB / 0.7575 GB, free: 9.027 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.002823, allocations: 25.38 kB / 0.7575 GB, free: 9.012 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.002923, allocations: 27.84 kB / 0.7575 GB, free: 8.984 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.003083, allocations: 87.53 kB / 0.7576 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.003199, allocations: 16.16 kB / 0.7576 GB, free: 8.91 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.00326, allocations: 37.94 kB / 0.7577 GB, free: 8.875 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.908e-05/0.00334, allocations: 27.91 kB / 0.7577 GB, free: 8.852 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.00336, allocations: 4 kB / 0.7577 GB, free: 8.848 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.003374, allocations: 8 kB / 0.7577 GB, free: 8.84 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.003397, allocations: 14.61 kB / 0.7577 GB, free: 8.828 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.003448, allocations: 30.06 kB / 0.7578 GB, free: 8.801 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003573, allocations: 66.59 kB / 0.7578 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003575, allocations: 0 / 0.7578 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003576, allocations: 0 / 0.7578 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.00358, allocations: 0 / 0.7578 GB, free: 8.738 MB / 0.5887 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.0004038/0.003984, allocations: 319.8 kB / 0.7581 GB, free: 8.391 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.004025, allocations: 8.031 kB / 0.7581 GB, free: 8.383 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.004059, allocations: 4.938 kB / 0.7581 GB, free: 8.379 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.004188, allocations: 133.7 kB / 0.7583 GB, free: 8.223 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.004199, allocations: 4.375 kB / 0.7583 GB, free: 8.219 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.004225, allocations: 13.62 kB / 0.7583 GB, free: 8.207 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.004354, allocations: 95.94 kB / 0.7584 GB, free: 8.102 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.004365, allocations: 192 / 0.7584 GB, free: 8.102 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.004378, allocations: 11.94 kB / 0.7584 GB, free: 8.09 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004384, allocations: 0 / 0.7584 GB, free: 8.09 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.00448, allocations: 81.17 kB / 0.7585 GB, free: 8.008 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.004857, allocations: 264.3 kB / 0.7587 GB, free: 7.719 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.004989, allocations: 92.2 kB / 0.7588 GB, free: 7.613 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.005037, allocations: 58.55 kB / 0.7589 GB, free: 7.547 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.005049, allocations: 4 kB / 0.7589 GB, free: 7.543 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.005199, allocations: 173.9 kB / 0.759 GB, free: 7.344 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.005201, allocations: 0 / 0.759 GB, free: 7.344 MB / 0.5887 GB Notification: Performance of matching and sorting (n=13): time 0.0006677/0.005869, allocations: 491.2 kB / 0.7595 GB, free: 6.805 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.005929, allocations: 137.3 kB / 0.7596 GB, free: 6.641 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.005988, allocations: 105.8 kB / 0.7597 GB, free: 6.527 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.006, allocations: 29.7 kB / 0.7598 GB, free: 6.492 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.006034, allocations: 96.02 kB / 0.7599 GB, free: 6.395 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.006066, allocations: 43.69 kB / 0.7599 GB, free: 6.352 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.006098, allocations: 29.72 kB / 0.7599 GB, free: 6.316 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.006178, allocations: 326.8 kB / 0.7602 GB, free: 5.988 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.006232, allocations: 63.88 kB / 0.7603 GB, free: 5.914 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.009e-05/0.006292, allocations: 96.83 kB / 0.7604 GB, free: 5.801 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.006599, allocations: 266.1 kB / 0.7606 GB, free: 5.504 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006601, allocations: 0.6562 kB / 0.7606 GB, free: 5.504 MB / 0.5887 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001686/0.006769, allocations: 201.1 kB / 0.7608 GB, free: 5.289 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.006794, allocations: 33.7 kB / 0.7609 GB, free: 5.25 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006799, allocations: 3.938 kB / 0.7609 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006811, allocations: 0 / 0.7609 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.006898, allocations: 27.98 kB / 0.7609 GB, free: 5.219 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.006904, allocations: 3.938 kB / 0.7609 GB, free: 5.215 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.006936, allocations: 8 kB / 0.7609 GB, free: 5.207 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.006944, allocations: 8.125 kB / 0.7609 GB, free: 5.199 MB / 0.5887 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.0001239/0.007068, allocations: 164 kB / 0.7611 GB, free: 5.023 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.007078, allocations: 7.953 kB / 0.7611 GB, free: 5.016 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.007105, allocations: 12.42 kB / 0.7611 GB, free: 5.004 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007107, allocations: 4.188 kB / 0.7611 GB, free: 5 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.007112, allocations: 4 kB / 0.7611 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007115, allocations: 3.938 kB / 0.7611 GB, free: 4.992 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.007417, allocations: 405.5 kB / 0.7615 GB, free: 4.547 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007419, allocations: 256 / 0.7615 GB, free: 4.547 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.007489, allocations: 27.98 kB / 0.7615 GB, free: 4.52 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.007492, allocations: 0 / 0.7615 GB, free: 4.52 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.0075, allocations: 0 / 0.7615 GB, free: 4.52 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.007503, allocations: 4 kB / 0.7615 GB, free: 4.516 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007504, allocations: 0 / 0.7615 GB, free: 4.516 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.007737, allocations: 363.9 kB / 0.7619 GB, free: 4.129 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.007747, allocations: 11.98 kB / 0.7619 GB, free: 4.117 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.007762, allocations: 12 kB / 0.7619 GB, free: 4.105 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.007797, allocations: 4 kB / 0.7619 GB, free: 4.102 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.007836, allocations: 11.98 kB / 0.7619 GB, free: 4.09 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007842, allocations: 3.938 kB / 0.7619 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.007872, allocations: 87.28 kB / 0.762 GB, free: 4 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.007872, allocations: 0 / 0.762 GB, free: 4 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001502/0.008023, allocations: 24 kB / 0.762 GB, free: 3.977 MB / 0.5887 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.385e-05/0.008096, allocations: 107.2 kB / 0.7621 GB, free: 3.859 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.008269, allocations: 198.7 kB / 0.7623 GB, free: 3.641 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 9.81e-07/0.00827, allocations: 0 / 0.7623 GB, free: 3.641 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.008348, allocations: 133 kB / 0.7624 GB, free: 3.492 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008548, allocations: 20.36 kB / 0.7625 GB, free: 3.473 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.009041, allocations: 387.8 kB / 0.7628 GB, free: 3.062 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.518e-05/0.009097, allocations: 94.94 kB / 0.7629 GB, free: 2.949 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.009126, allocations: 16.5 kB / 0.7629 GB, free: 2.934 MB / 0.5887 GB Notification: Performance of SimCode: time 7.11e-07/0.009127, allocations: 0 / 0.7629 GB, free: 2.934 MB / 0.5887 GB Notification: Performance of Templates: time 0.001987/0.01111, allocations: 1.243 MB / 0.7641 GB, free: 1.711 MB / 0.5887 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.46240201103501]