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.001912/0.001912, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002058/0.002058, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.603/1.603, allocations: 177.2 MB / 203.1 MB, free: 5.602 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.318/3.318, allocations: 274.5 MB / 0.5215 GB, free: 14.18 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 2.665e-06/2.665e-06, allocations: 0 / 0.6472 GB, free: 38.94 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.527e-05, allocations: 2.312 kB / 0.6472 GB, free: 38.93 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.003516/0.003552, allocations: 2.042 MB / 0.6492 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.00462, allocations: 0.5398 MB / 0.6497 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.00471, allocations: 3.938 kB / 0.6497 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.00486, allocations: 15.33 kB / 0.6497 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.005042, allocations: 49.98 kB / 0.6498 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.005249, allocations: 47.19 kB / 0.6498 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.005536, allocations: 194.4 kB / 0.65 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005686, allocations: 30.75 kB / 0.6501 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.005861, allocations: 97.98 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.006005, allocations: 64.39 kB / 0.6502 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.006049, allocations: 15.19 kB / 0.6502 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-05/0.006086, allocations: 15.81 kB / 0.6502 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.006132, allocations: 34.5 kB / 0.6503 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.006225, allocations: 54.8 kB / 0.6503 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.006488, allocations: 171.5 kB / 0.6505 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.006493, allocations: 0 / 0.6505 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.006494, allocations: 0 / 0.6505 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.006501, allocations: 3.688 kB / 0.6505 GB, free: 36.91 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008487/0.00735, allocations: 0.5204 MB / 0.651 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.007398, allocations: 8.594 kB / 0.651 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.007485, allocations: 30.56 kB / 0.651 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.007799, allocations: 173.2 kB / 0.6512 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.007819, allocations: 12.52 kB / 0.6512 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.007856, allocations: 13.47 kB / 0.6512 GB, free: 36.24 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.008136, allocations: 154 kB / 0.6514 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.008155, allocations: 9.266 kB / 0.6514 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.008176, allocations: 6.312 kB / 0.6514 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.008183, allocations: 1.469 kB / 0.6514 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.008457, allocations: 118.1 kB / 0.6515 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.00913, allocations: 430 kB / 0.6519 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.009441, allocations: 167.5 kB / 0.6521 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.009589, allocations: 88.47 kB / 0.6522 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.009609, allocations: 5.5 kB / 0.6522 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.009915, allocations: 228.3 kB / 0.6524 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.009916, allocations: 0 / 0.6524 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.00135/0.01127, allocations: 0.6733 MB / 0.653 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.01133, allocations: 134.4 kB / 0.6532 GB, free: 34.79 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.01149, allocations: 227.1 kB / 0.6534 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.01152, allocations: 33.23 kB / 0.6534 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.01159, allocations: 161.6 kB / 0.6536 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.01165, allocations: 82.14 kB / 0.6536 GB, free: 34.35 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.01173, allocations: 57.14 kB / 0.6537 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.01184, allocations: 0.511 MB / 0.6542 GB, free: 33.8 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.01203, allocations: 138.7 kB / 0.6543 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.01226, allocations: 230.4 kB / 0.6546 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.01276, allocations: 412 kB / 0.6549 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01276, allocations: 0 / 0.6549 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006291/0.01339, allocations: 372.1 kB / 0.6553 GB, free: 32.92 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.01345, allocations: 70.97 kB / 0.6554 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.01346, allocations: 1.531 kB / 0.6554 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.01349, allocations: 4.219 kB / 0.6554 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.01371, allocations: 48.73 kB / 0.6554 GB, free: 32.85 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.01373, allocations: 8.344 kB / 0.6554 GB, free: 32.85 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.01386, allocations: 14.77 kB / 0.6554 GB, free: 32.84 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.01389, allocations: 16.28 kB / 0.6555 GB, free: 32.84 MB / 0.5262 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.0002583/0.01415, allocations: 221.9 kB / 0.6557 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.01419, allocations: 28.55 kB / 0.6557 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.01425, allocations: 16.81 kB / 0.6557 GB, free: 32.61 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.01426, allocations: 2.188 kB / 0.6557 GB, free: 32.61 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.01426, allocations: 3.281 kB / 0.6557 GB, free: 32.61 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.01427, allocations: 5.531 kB / 0.6557 GB, free: 32.61 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.01498, allocations: 0.575 MB / 0.6563 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01498, allocations: 0 / 0.6563 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.01517, allocations: 33.23 kB / 0.6563 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.01517, allocations: 4.5 kB / 0.6563 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.0152, allocations: 2.812 kB / 0.6563 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.0152, allocations: 9 kB / 0.6563 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.0152, allocations: 1.844 kB / 0.6563 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.01604, allocations: 0.5185 MB / 0.6568 GB, free: 31.79 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.01607, allocations: 24.59 kB / 0.6569 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.01611, allocations: 7.938 kB / 0.6569 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01624, allocations: 9.703 kB / 0.6569 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.01635, allocations: 17.66 kB / 0.6569 GB, free: 31.77 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.01637, allocations: 10.44 kB / 0.6569 GB, free: 31.76 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0001102/0.01648, allocations: 162.7 kB / 0.6571 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.01648, allocations: 0 / 0.6571 GB, free: 31.63 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003256/0.01681, allocations: 41.31 kB / 0.6571 GB, free: 31.63 MB / 0.5262 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.0001433/0.01695, allocations: 116.3 kB / 0.6572 GB, free: 31.54 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.01754, allocations: 391.5 kB / 0.6576 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01754, allocations: 0 / 0.6576 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.01776, allocations: 176.8 kB / 0.6578 GB, free: 31.12 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.01817, allocations: 53.22 kB / 0.6578 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.0193, allocations: 0.5497 MB / 0.6583 GB, free: 30.75 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.0194, allocations: 108.7 kB / 0.6584 GB, free: 30.67 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.737e-05/0.01948, allocations: 22.2 kB / 0.6585 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.01954, allocations: 22.22 kB / 0.6585 GB, free: 30.65 MB / 0.5262 GB Notification: Performance of SimCode: time 1.222e-06/0.01954, allocations: 0 / 0.6585 GB, free: 30.65 MB / 0.5262 GB Notification: Performance of Templates: time 0.007092/0.02663, allocations: 2.445 MB / 0.6609 GB, free: 30.45 MB / 0.5262 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.38679069490172]