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.0009631/0.0009631, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009853/0.0009853, allocations: 173 kB / 23.36 MB, free: 1.133 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.9475/0.9475, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.604/1.604, allocations: 273.5 MB / 0.5213 GB, free: 14.65 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.724e-06/1.724e-06, allocations: 0 / 0.5954 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.57e-05, allocations: 6.312 kB / 0.5954 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002579/0.002605, allocations: 2.047 MB / 0.5974 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003655, allocations: 0.5419 MB / 0.5979 GB, free: 160 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.003759, allocations: 7.938 kB / 0.5979 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.003906, allocations: 21.06 kB / 0.5979 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.004081, allocations: 48 kB / 0.598 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.004261, allocations: 47.88 kB / 0.598 GB, free: 52 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.004512, allocations: 193.4 kB / 0.5982 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004621, allocations: 34.5 kB / 0.5983 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004753, allocations: 99.89 kB / 0.5984 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004865, allocations: 62.48 kB / 0.5984 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.004893, allocations: 12 kB / 0.5984 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.004913, allocations: 20 kB / 0.5984 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.004951, allocations: 33.55 kB / 0.5985 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.005013, allocations: 50.2 kB / 0.5985 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.00517, allocations: 119.6 kB / 0.5986 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005171, allocations: 0 / 0.5986 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005172, allocations: 0 / 0.5986 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.005176, allocations: 3.844 kB / 0.5986 GB, free: 15.5 MB / 0.5261 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.0005111/0.005687, allocations: 403.7 kB / 0.599 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.00572, allocations: 16.03 kB / 0.599 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.005765, allocations: 20.92 kB / 0.5991 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.005907, allocations: 132.4 kB / 0.5992 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.005926, allocations: 12.38 kB / 0.5992 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.005954, allocations: 12.38 kB / 0.5992 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.006119, allocations: 145.5 kB / 0.5993 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.006133, allocations: 7.922 kB / 0.5994 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.006142, allocations: 0 / 0.5994 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.006152, allocations: 7.984 kB / 0.5994 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.006234, allocations: 66.33 kB / 0.5994 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.006601, allocations: 263.9 kB / 0.5997 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.006719, allocations: 108.1 kB / 0.5998 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.006763, allocations: 54.55 kB / 0.5998 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.006772, allocations: 4 kB / 0.5998 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.00693, allocations: 192.3 kB / 0.6 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.006931, allocations: 0 / 0.6 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0006163/0.007548, allocations: 0.5034 MB / 0.6005 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.007602, allocations: 132.5 kB / 0.6006 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.007689, allocations: 148.9 kB / 0.6008 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.007707, allocations: 29.7 kB / 0.6008 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.00775, allocations: 108.5 kB / 0.6009 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.007788, allocations: 71.41 kB / 0.601 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.007838, allocations: 45.67 kB / 0.601 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003777/0.008215, allocations: 326.8 kB / 0.6013 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.008278, allocations: 100.7 kB / 0.6014 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.11e-05/0.008369, allocations: 164.3 kB / 0.6016 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.008544, allocations: 285.5 kB / 0.6019 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.008545, allocations: 0 / 0.6019 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001712/0.008716, allocations: 256.2 kB / 0.6021 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.008749, allocations: 66.38 kB / 0.6022 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.008757, allocations: 4 kB / 0.6022 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.008768, allocations: 4 kB / 0.6022 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.008879, allocations: 47.91 kB / 0.6022 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.008884, allocations: 4 kB / 0.6022 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.008951, allocations: 15.98 kB / 0.6022 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.008962, allocations: 8 kB / 0.6022 GB, free: 11.39 MB / 0.5261 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.0001432/0.009105, allocations: 193 kB / 0.6024 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.009123, allocations: 15.98 kB / 0.6024 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.009152, allocations: 21.08 kB / 0.6025 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.009154, allocations: 4 kB / 0.6025 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.009156, allocations: 4 kB / 0.6025 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.00916, allocations: 0 / 0.6025 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.009442, allocations: 354.3 kB / 0.6028 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009445, allocations: 7.625 kB / 0.6028 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.009538, allocations: 27.98 kB / 0.6028 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.009541, allocations: 7.938 kB / 0.6029 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.009552, allocations: 7.984 kB / 0.6029 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.009555, allocations: 4 kB / 0.6029 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009556, allocations: 0 / 0.6029 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.009768, allocations: 336.8 kB / 0.6032 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.009782, allocations: 15.91 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.009802, allocations: 8 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.009863, allocations: 15.98 kB / 0.6032 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.009912, allocations: 19.97 kB / 0.6032 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.009919, allocations: 3.984 kB / 0.6032 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.009944, allocations: 28.83 kB / 0.6033 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.009944, allocations: 0 / 0.6033 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001627/0.01011, allocations: 52 kB / 0.6033 GB, free: 10.2 MB / 0.5261 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 7.968e-05/0.01019, allocations: 88.36 kB / 0.6034 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.01039, allocations: 311.1 kB / 0.6037 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.0104, allocations: 0 / 0.6037 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.01048, allocations: 137.9 kB / 0.6038 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01066, allocations: 41.33 kB / 0.6039 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01168, allocations: 0.5047 MB / 0.6044 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01172, allocations: 71.98 kB / 0.6044 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.01177, allocations: 21.48 kB / 0.6045 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01188, allocations: 99.33 kB / 0.6046 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of SimCode: time 4.9e-07/0.01188, allocations: 0 / 0.6046 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of Templates: time 0.003952/0.01583, allocations: 2.648 MB / 0.6071 GB, free: 6.312 MB / 0.5261 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.709266467019916]