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.001986/0.001986, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.002431/0.002431, allocations: 169.9 kB / 22.45 MB, free: 2.105 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 1.656/1.656, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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 3.481/3.481, allocations: 274 MB / 0.5207 GB, free: 14.9 MB / 458.7 MB " [Timeout remaining time 176] 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.864e-06/1.864e-06, allocations: 0 / 0.7563 GB, free: 9.926 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.035e-05, allocations: 2.281 kB / 0.7563 GB, free: 9.922 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.003984/0.004014, allocations: 1.967 MB / 0.7582 GB, free: 7.961 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.005166, allocations: 0.5351 MB / 0.7587 GB, free: 7.434 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.005252, allocations: 0 / 0.7587 GB, free: 7.434 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.005381, allocations: 23.78 kB / 0.7587 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.005544, allocations: 52.22 kB / 0.7588 GB, free: 7.375 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.005742, allocations: 47.94 kB / 0.7588 GB, free: 7.328 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.006068, allocations: 192.9 kB / 0.759 GB, free: 7.164 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.006218, allocations: 21.91 kB / 0.759 GB, free: 7.133 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.006403, allocations: 103.8 kB / 0.7591 GB, free: 7.031 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.006543, allocations: 59.86 kB / 0.7592 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.006583, allocations: 12 kB / 0.7592 GB, free: 6.961 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.006623, allocations: 19.94 kB / 0.7592 GB, free: 6.941 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.006672, allocations: 31.84 kB / 0.7592 GB, free: 6.91 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.00678, allocations: 59.89 kB / 0.7593 GB, free: 6.852 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.007072, allocations: 159.5 kB / 0.7595 GB, free: 6.695 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.007076, allocations: 4 kB / 0.7595 GB, free: 6.691 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.007078, allocations: 4 kB / 0.7595 GB, free: 6.688 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.007084, allocations: 0 / 0.7595 GB, free: 6.688 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009518/0.008035, allocations: 432.9 kB / 0.7599 GB, free: 6.223 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.008078, allocations: 12.02 kB / 0.7599 GB, free: 6.211 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.008146, allocations: 16.84 kB / 0.7599 GB, free: 6.195 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.008518, allocations: 177.5 kB / 0.7601 GB, free: 5.996 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.008538, allocations: 12.38 kB / 0.7601 GB, free: 5.984 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.008585, allocations: 20.31 kB / 0.7601 GB, free: 5.965 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.00895, allocations: 152.5 kB / 0.7603 GB, free: 5.805 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.008973, allocations: 11.89 kB / 0.7603 GB, free: 5.793 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.008989, allocations: 0 / 0.7603 GB, free: 5.793 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.008996, allocations: 4 kB / 0.7603 GB, free: 5.789 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.009353, allocations: 133.6 kB / 0.7604 GB, free: 5.652 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.01013, allocations: 364.1 kB / 0.7607 GB, free: 5.266 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.01056, allocations: 160.3 kB / 0.7609 GB, free: 5.094 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.01077, allocations: 90.62 kB / 0.761 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.01078, allocations: 0 / 0.761 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.0112, allocations: 224.3 kB / 0.7612 GB, free: 4.746 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.0112, allocations: 0 / 0.7612 GB, free: 4.746 MB / 0.5887 GB Notification: Performance of matching and sorting (n=21): time 0.001693/0.0129, allocations: 0.6795 MB / 0.7619 GB, free: 4.004 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.01302, allocations: 136.5 kB / 0.762 GB, free: 3.84 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.0132, allocations: 149.8 kB / 0.7621 GB, free: 3.684 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.01323, allocations: 33.7 kB / 0.7622 GB, free: 3.645 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.01333, allocations: 108.5 kB / 0.7623 GB, free: 3.535 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.01341, allocations: 79.42 kB / 0.7623 GB, free: 3.457 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.0135, allocations: 41.7 kB / 0.7624 GB, free: 3.41 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.01369, allocations: 326.8 kB / 0.7627 GB, free: 3.082 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.01395, allocations: 136.7 kB / 0.7628 GB, free: 2.934 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.01428, allocations: 211.4 kB / 0.763 GB, free: 2.688 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.01531, allocations: 0.5028 MB / 0.7635 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01531, allocations: 0 / 0.7635 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000696/0.01601, allocations: 376.1 kB / 0.7639 GB, free: 1.727 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/0.01608, allocations: 63.39 kB / 0.7639 GB, free: 1.652 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01609, allocations: 0 / 0.7639 GB, free: 1.652 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.01611, allocations: 4 kB / 0.7639 GB, free: 1.648 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.01635, allocations: 51.91 kB / 0.764 GB, free: 1.598 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.01636, allocations: 3.938 kB / 0.764 GB, free: 1.594 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.01652, allocations: 24.17 kB / 0.764 GB, free: 1.57 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.01654, allocations: 8 kB / 0.764 GB, free: 1.562 MB / 0.5887 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.000534/0.01708, allocations: 188.9 kB / 0.7642 GB, free: 1.371 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.01711, allocations: 19.91 kB / 0.7642 GB, free: 1.352 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.01716, allocations: 21.27 kB / 0.7642 GB, free: 1.336 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01717, allocations: 0 / 0.7642 GB, free: 1.336 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.01717, allocations: 7.938 kB / 0.7643 GB, free: 1.328 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01718, allocations: 0 / 0.7643 GB, free: 1.328 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.01808, allocations: 0.5164 MB / 0.7648 GB, free: 0.7617 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01809, allocations: 0 / 0.7648 GB, free: 0.7617 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.01829, allocations: 35.97 kB / 0.7648 GB, free: 0.7266 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.0183, allocations: 4 kB / 0.7648 GB, free: 0.7227 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.01832, allocations: 8 kB / 0.7648 GB, free: 0.7148 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01832, allocations: 0 / 0.7648 GB, free: 0.7148 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01832, allocations: 0 / 0.7648 GB, free: 0.7148 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.01919, allocations: 496.7 kB / 0.7653 GB, free: 200 kB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.01922, allocations: 11.91 kB / 0.7653 GB, free: 188 kB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.01925, allocations: 8.062 kB / 0.7653 GB, free: 180 kB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.0194, allocations: 7.984 kB / 0.7653 GB, free: 172 kB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.01949, allocations: 23.97 kB / 0.7653 GB, free: 148 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.01951, allocations: 8 kB / 0.7653 GB, free: 140 kB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.000113/0.01963, allocations: 118.2 kB / 0.7654 GB, free: 24 kB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.01963, allocations: 0 / 0.7654 GB, free: 24 kB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0003231/0.01995, allocations: 44.08 kB / 0.7655 GB, free: 15.98 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 0.0001584/0.02011, allocations: 105.6 kB / 0.7656 GB, free: 15.86 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0006931/0.0208, allocations: 375.8 kB / 0.7659 GB, free: 15.45 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0208, allocations: 0 / 0.7659 GB, free: 15.45 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.02109, allocations: 169 kB / 0.7661 GB, free: 15.27 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.0215, allocations: 40.05 kB / 0.7661 GB, free: 15.23 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.02272, allocations: 0.5444 MB / 0.7667 GB, free: 14.67 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.02286, allocations: 111.5 kB / 0.7668 GB, free: 14.54 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.035e-05/0.02294, allocations: 17.42 kB / 0.7668 GB, free: 14.52 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.023, allocations: 20.5 kB / 0.7668 GB, free: 14.5 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.023, allocations: 0 / 0.7668 GB, free: 14.5 MB / 0.6043 GB Notification: Performance of Templates: time 0.007002/0.03, allocations: 2.419 MB / 0.7692 GB, free: 12.22 MB / 0.6043 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: 9.06743788300082]