Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.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.001004/0.001004, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001418/0.001418, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9496/0.9496, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.578/1.578, allocations: 273.5 MB / 0.5213 GB, free: 14.87 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.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6462 GB, free: 39.16 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.857e-05, allocations: 6.531 kB / 0.6462 GB, free: 39.15 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.003069/0.003098, allocations: 2.039 MB / 0.6482 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.004018, allocations: 0.5422 MB / 0.6487 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.00411, allocations: 0 / 0.6487 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.00423, allocations: 25.17 kB / 0.6487 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.004383, allocations: 50.7 kB / 0.6488 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.004561, allocations: 47.72 kB / 0.6488 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.004821, allocations: 191.8 kB / 0.649 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004946, allocations: 30.92 kB / 0.649 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005106, allocations: 109.7 kB / 0.6492 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.005232, allocations: 57.64 kB / 0.6492 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.005266, allocations: 16.16 kB / 0.6492 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.005293, allocations: 15.44 kB / 0.6492 GB, free: 37.26 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.005328, allocations: 30.53 kB / 0.6493 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.686e-05/0.005415, allocations: 54.97 kB / 0.6493 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005618, allocations: 118.5 kB / 0.6494 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00562, allocations: 0 / 0.6494 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005621, allocations: 0 / 0.6494 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.005626, allocations: 1.156 kB / 0.6494 GB, free: 37.16 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.0006464/0.006272, allocations: 0.5173 MB / 0.6499 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.006315, allocations: 10.44 kB / 0.6499 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.006387, allocations: 25.66 kB / 0.65 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006565, allocations: 162 kB / 0.6501 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.006582, allocations: 13.12 kB / 0.6501 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.006616, allocations: 13.94 kB / 0.6502 GB, free: 36.49 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.006872, allocations: 141.9 kB / 0.6503 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.006887, allocations: 3.938 kB / 0.6503 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.006903, allocations: 5.688 kB / 0.6503 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.006912, allocations: 1.688 kB / 0.6503 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.007061, allocations: 87.55 kB / 0.6504 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.007618, allocations: 403 kB / 0.6508 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.007806, allocations: 120.2 kB / 0.6509 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.007886, allocations: 64.31 kB / 0.6509 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.007899, allocations: 3.656 kB / 0.6509 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.008114, allocations: 198.4 kB / 0.6511 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.008115, allocations: 0 / 0.6511 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0009124/0.009028, allocations: 0.5812 MB / 0.6517 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.009071, allocations: 136.6 kB / 0.6518 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.009182, allocations: 202.7 kB / 0.652 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.0092, allocations: 33.36 kB / 0.6521 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.009252, allocations: 160.6 kB / 0.6522 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.0093, allocations: 70.91 kB / 0.6523 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.009373, allocations: 53.28 kB / 0.6523 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.009427, allocations: 0.4994 MB / 0.6528 GB, free: 34.18 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.009535, allocations: 101.5 kB / 0.6529 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.009664, allocations: 192.8 kB / 0.6531 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.009952, allocations: 324.1 kB / 0.6534 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.009955, allocations: 2.156 kB / 0.6534 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003589/0.01031, allocations: 314 kB / 0.6537 GB, free: 33.4 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.01034, allocations: 59.03 kB / 0.6538 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01035, allocations: 7.125 kB / 0.6538 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01037, allocations: 3.531 kB / 0.6538 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.01057, allocations: 53.02 kB / 0.6538 GB, free: 33.33 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.01058, allocations: 13.72 kB / 0.6538 GB, free: 33.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.0107, allocations: 14.97 kB / 0.6539 GB, free: 33.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01072, allocations: 7.656 kB / 0.6539 GB, free: 33.32 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" 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.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,central.rising,$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.0001733/0.01089, allocations: 231.5 kB / 0.6541 GB, free: 33.11 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.01093, allocations: 18.75 kB / 0.6541 GB, free: 33.11 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.01096, allocations: 22.48 kB / 0.6541 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01097, allocations: 5.5 kB / 0.6541 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01097, allocations: 0 / 0.6541 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01098, allocations: 3.938 kB / 0.6541 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.01144, allocations: 0.5166 MB / 0.6546 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01145, allocations: 1.219 kB / 0.6546 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.01162, allocations: 32.55 kB / 0.6547 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01162, allocations: 1.656 kB / 0.6547 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.01164, allocations: 6.875 kB / 0.6547 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01164, allocations: 2.344 kB / 0.6547 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01164, allocations: 0 / 0.6547 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.01205, allocations: 454.6 kB / 0.6551 GB, free: 32.33 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.01207, allocations: 19.44 kB / 0.6551 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.0121, allocations: 9.156 kB / 0.6551 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01222, allocations: 11.7 kB / 0.6552 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.01229, allocations: 20.59 kB / 0.6552 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.01231, allocations: 6.219 kB / 0.6552 GB, free: 32.31 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.01237, allocations: 150.8 kB / 0.6553 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.01237, allocations: 0 / 0.6553 GB, free: 32.18 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003282/0.0127, allocations: 44.88 kB / 0.6554 GB, free: 32.18 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.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 8.96e-05/0.01279, allocations: 109.8 kB / 0.6555 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.0131, allocations: 331.2 kB / 0.6558 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.0131, allocations: 1.75 kB / 0.6558 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.01322, allocations: 149.4 kB / 0.6559 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.01361, allocations: 50.77 kB / 0.656 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.01545, allocations: 0.5998 MB / 0.6566 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.01554, allocations: 110.9 kB / 0.6567 GB, free: 31.21 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.01561, allocations: 28.7 kB / 0.6567 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of SimCode: time 8.61e-07/0.01561, allocations: 0 / 0.6567 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of Templates: time 0.004101/0.01971, allocations: 2.285 MB / 0.6589 GB, free: 31.03 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.355036508990452]