Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.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.00234/0.00234, 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.002033/0.002033, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.563/1.563, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.558/3.558, allocations: 274 MB / 0.5207 GB, free: 14.84 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.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_1C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 1.422 kB / 0.7563 GB, free: 9.895 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.244e-05, allocations: 8.672 kB / 0.7563 GB, free: 9.887 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_1C): time 0.003702/0.003735, allocations: 2.142 MB / 0.7584 GB, free: 7.758 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004984, allocations: 0.5857 MB / 0.7589 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.005109, allocations: 4 kB / 0.7589 GB, free: 7.172 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.005223, allocations: 19.78 kB / 0.759 GB, free: 7.152 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.005433, allocations: 80.31 kB / 0.759 GB, free: 7.098 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.005674, allocations: 57.11 kB / 0.7591 GB, free: 7.043 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.006019, allocations: 249.7 kB / 0.7593 GB, free: 6.809 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.006147, allocations: 29.95 kB / 0.7594 GB, free: 6.777 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.006354, allocations: 127.7 kB / 0.7595 GB, free: 6.652 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.006565, allocations: 75.78 kB / 0.7595 GB, free: 6.578 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.006606, allocations: 16 kB / 0.7596 GB, free: 6.562 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.006646, allocations: 16 kB / 0.7596 GB, free: 6.547 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.006697, allocations: 39.83 kB / 0.7596 GB, free: 6.508 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.006802, allocations: 71.78 kB / 0.7597 GB, free: 6.438 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.007076, allocations: 191.5 kB / 0.7599 GB, free: 6.25 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007079, allocations: 0 / 0.7599 GB, free: 6.25 MB / 0.5887 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00708, allocations: 0 / 0.7599 GB, free: 6.25 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.007087, allocations: 4 kB / 0.7599 GB, free: 6.246 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009227/0.008009, allocations: 480.7 kB / 0.7603 GB, free: 5.734 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.008045, allocations: 11.97 kB / 0.7603 GB, free: 5.723 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.00811, allocations: 24.8 kB / 0.7604 GB, free: 5.699 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.008364, allocations: 178.2 kB / 0.7605 GB, free: 5.496 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.008384, allocations: 8.375 kB / 0.7605 GB, free: 5.488 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.008425, allocations: 16.38 kB / 0.7606 GB, free: 5.473 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.008844, allocations: 203.8 kB / 0.7608 GB, free: 5.254 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.008859, allocations: 0 / 0.7608 GB, free: 5.254 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.008876, allocations: 8 kB / 0.7608 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.008884, allocations: 7.609 kB / 0.7608 GB, free: 5.242 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.009259, allocations: 142.1 kB / 0.7609 GB, free: 5.098 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.01013, allocations: 492.9 kB / 0.7614 GB, free: 4.582 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.01056, allocations: 170.5 kB / 0.7615 GB, free: 4.402 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.01077, allocations: 102.5 kB / 0.7616 GB, free: 4.293 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.01078, allocations: 0 / 0.7616 GB, free: 4.293 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.01117, allocations: 227.6 kB / 0.7619 GB, free: 4.043 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.01117, allocations: 0 / 0.7619 GB, free: 4.043 MB / 0.5887 GB Notification: Performance of matching and sorting (n=22): time 0.001626/0.0128, allocations: 0.707 MB / 0.7625 GB, free: 3.273 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.01291, allocations: 136.5 kB / 0.7627 GB, free: 3.109 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.01314, allocations: 211.6 kB / 0.7629 GB, free: 2.895 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.01317, allocations: 29.7 kB / 0.7629 GB, free: 2.859 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01328, allocations: 128.4 kB / 0.763 GB, free: 2.73 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 8.637e-05/0.01337, allocations: 75.42 kB / 0.7631 GB, free: 2.656 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.73e-05/0.01345, allocations: 45.94 kB / 0.7631 GB, free: 2.605 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01364, allocations: 338.8 kB / 0.7635 GB, free: 2.266 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.01391, allocations: 148.8 kB / 0.7636 GB, free: 2.105 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.01424, allocations: 235.1 kB / 0.7638 GB, free: 1.828 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.01529, allocations: 0.5222 MB / 0.7643 GB, free: 1.238 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.01529, allocations: 3.984 kB / 0.7643 GB, free: 1.234 MB / 0.5887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007091/0.016, allocations: 400.1 kB / 0.7647 GB, free: 0.8125 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.636e-05/0.01607, allocations: 67.39 kB / 0.7648 GB, free: 0.7344 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01607, allocations: 0 / 0.7648 GB, free: 0.7344 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01609, allocations: 7.938 kB / 0.7648 GB, free: 0.7266 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.01634, allocations: 47.97 kB / 0.7648 GB, free: 0.6797 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01635, allocations: 7.938 kB / 0.7649 GB, free: 0.6719 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.01653, allocations: 23.92 kB / 0.7649 GB, free: 0.6484 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.01655, allocations: 16 kB / 0.7649 GB, free: 0.6328 MB / 0.5887 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: 9 * 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 (33): * Single equations (assignments): 31 * 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.000237/0.01679, allocations: 184.2 kB / 0.7651 GB, free: 452 kB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.01683, allocations: 19.86 kB / 0.7651 GB, free: 432 kB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.01688, allocations: 25.95 kB / 0.7651 GB, free: 412 kB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01688, allocations: 8 kB / 0.7651 GB, free: 404 kB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01688, allocations: 0 / 0.7651 GB, free: 404 kB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.01689, allocations: 11.67 kB / 0.7651 GB, free: 396 kB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.0178, allocations: 0.5327 MB / 0.7656 GB, free: 15.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.0178, allocations: 4 kB / 0.7657 GB, free: 15.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.018, allocations: 27.98 kB / 0.7657 GB, free: 15.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.01801, allocations: 4 kB / 0.7657 GB, free: 15.77 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.01803, allocations: 7.984 kB / 0.7657 GB, free: 15.76 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.01803, allocations: 8 kB / 0.7657 GB, free: 15.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01804, allocations: 0 / 0.7657 GB, free: 15.75 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.01889, allocations: 0.4928 MB / 0.7662 GB, free: 15.22 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.01893, allocations: 19.84 kB / 0.7662 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.01897, allocations: 8.062 kB / 0.7662 GB, free: 15.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.01914, allocations: 15.98 kB / 0.7662 GB, free: 15.18 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.01922, allocations: 27.89 kB / 0.7662 GB, free: 15.15 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.01924, allocations: 8 kB / 0.7663 GB, free: 15.14 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.0001484/0.01939, allocations: 145.9 kB / 0.7664 GB, free: 15 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.01939, allocations: 0 / 0.7664 GB, free: 15 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003035/0.01969, allocations: 56 kB / 0.7664 GB, free: 14.95 MB / 0.6043 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 (19): * Single equations (assignments): 16 * 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.0001314/0.01982, allocations: 105.9 kB / 0.7665 GB, free: 14.84 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.02049, allocations: 389.1 kB / 0.7669 GB, free: 14.42 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0205, allocations: 64 / 0.7669 GB, free: 14.42 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.02079, allocations: 180.9 kB / 0.7671 GB, free: 14.23 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.02125, allocations: 62.36 kB / 0.7672 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02243, allocations: 0.5958 MB / 0.7677 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.02257, allocations: 129.2 kB / 0.7679 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.02266, allocations: 25.33 kB / 0.7679 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.02272, allocations: 24.48 kB / 0.7679 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of SimCode: time 4.51e-07/0.02272, allocations: 3.938 kB / 0.7679 GB, free: 13.36 MB / 0.6043 GB Notification: Performance of Templates: time 0.007646/0.03037, allocations: 3.164 MB / 0.771 GB, free: 10.35 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.sim & ./Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_1C.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.028028862550855]