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.0009344/0.0009344, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009082/0.0009082, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9455/0.9455, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.483/1.483, allocations: 273.5 MB / 0.522 GB, free: 14.59 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.713e-06/1.713e-06, allocations: 0 / 0.6482 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.854e-05, allocations: 3.25 kB / 0.6482 GB, free: 38.38 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002768/0.002786, allocations: 2.033 MB / 0.6502 GB, free: 37.06 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.003771, allocations: 0.547 MB / 0.6507 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.003882, allocations: 0 / 0.6507 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.004004, allocations: 22.55 kB / 0.6507 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.004172, allocations: 49.52 kB / 0.6508 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.004352, allocations: 42.05 kB / 0.6508 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.004598, allocations: 196.5 kB / 0.651 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.00471, allocations: 28.69 kB / 0.651 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004828, allocations: 105.8 kB / 0.6511 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.004922, allocations: 58.48 kB / 0.6512 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.004948, allocations: 14.53 kB / 0.6512 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.091e-05/0.004968, allocations: 15.84 kB / 0.6512 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.004996, allocations: 29.73 kB / 0.6512 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.005046, allocations: 56.45 kB / 0.6513 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.005173, allocations: 119.3 kB / 0.6514 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005175, allocations: 1.625 kB / 0.6514 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005175, allocations: 1.5 kB / 0.6514 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005179, allocations: 3.328 kB / 0.6514 GB, free: 36.4 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.0004257/0.005605, allocations: 0.5176 MB / 0.6519 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.005635, allocations: 8.25 kB / 0.6519 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.00568, allocations: 30.44 kB / 0.6519 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005794, allocations: 165 kB / 0.6521 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005809, allocations: 6.781 kB / 0.6521 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.005832, allocations: 18.53 kB / 0.6521 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005968, allocations: 132.5 kB / 0.6522 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.005978, allocations: 9.25 kB / 0.6523 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005988, allocations: 4 kB / 0.6523 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005994, allocations: 1.406 kB / 0.6523 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.006069, allocations: 71.98 kB / 0.6523 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.006398, allocations: 381.3 kB / 0.6527 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006512, allocations: 113.4 kB / 0.6528 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.006556, allocations: 59.55 kB / 0.6529 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.006564, allocations: 3.469 kB / 0.6529 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.006689, allocations: 196.7 kB / 0.653 GB, free: 35 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.00669, allocations: 1.781 kB / 0.6531 GB, free: 35 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0005476/0.007238, allocations: 0.5331 MB / 0.6536 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.007272, allocations: 138.4 kB / 0.6537 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.007343, allocations: 203 kB / 0.6539 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.007355, allocations: 33.42 kB / 0.6539 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.007395, allocations: 156.8 kB / 0.6541 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.007428, allocations: 74.58 kB / 0.6542 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.00748, allocations: 54.14 kB / 0.6542 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.007538, allocations: 0.4999 MB / 0.6547 GB, free: 33.48 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.00759, allocations: 101 kB / 0.6548 GB, free: 33.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.00766, allocations: 183.8 kB / 0.655 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.007809, allocations: 308.1 kB / 0.6553 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.00781, allocations: 1.094 kB / 0.6553 GB, free: 32.93 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001982/0.008008, allocations: 304.8 kB / 0.6555 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.008034, allocations: 62.95 kB / 0.6556 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008039, allocations: 0 / 0.6556 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.008049, allocations: 4.562 kB / 0.6556 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.008173, allocations: 49.55 kB / 0.6557 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008177, allocations: 8.781 kB / 0.6557 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.008255, allocations: 22.09 kB / 0.6557 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.00827, allocations: 8.031 kB / 0.6557 GB, free: 32.64 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.0001259/0.008396, allocations: 233.1 kB / 0.6559 GB, free: 32.42 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.00842, allocations: 28.2 kB / 0.6559 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.008445, allocations: 17.22 kB / 0.656 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008448, allocations: 2.75 kB / 0.656 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.00845, allocations: 0 / 0.656 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.008454, allocations: 0 / 0.656 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.008783, allocations: 0.4899 MB / 0.6564 GB, free: 32.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008785, allocations: 0 / 0.6564 GB, free: 32.01 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.008884, allocations: 33 kB / 0.6565 GB, free: 32 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008886, allocations: 0 / 0.6565 GB, free: 32 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.008898, allocations: 10.52 kB / 0.6565 GB, free: 32 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0089, allocations: 2.156 kB / 0.6565 GB, free: 32 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0089, allocations: 0 / 0.6565 GB, free: 32 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.009142, allocations: 442.2 kB / 0.6569 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.009155, allocations: 11.31 kB / 0.6569 GB, free: 31.67 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.009177, allocations: 12.56 kB / 0.6569 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.009243, allocations: 17.14 kB / 0.6569 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.009288, allocations: 22.12 kB / 0.657 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.009297, allocations: 7.656 kB / 0.657 GB, free: 31.65 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.009328, allocations: 149.8 kB / 0.6571 GB, free: 31.53 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.009328, allocations: 1.531 kB / 0.6571 GB, free: 31.53 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001861/0.009514, allocations: 42.94 kB / 0.6572 GB, free: 31.52 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 6.345e-05/0.009578, allocations: 110.1 kB / 0.6573 GB, free: 31.43 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.009782, allocations: 305.7 kB / 0.6576 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.009783, allocations: 0 / 0.6576 GB, free: 31.18 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.009884, allocations: 149.8 kB / 0.6577 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01013, allocations: 50.09 kB / 0.6577 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.01123, allocations: 0.5655 MB / 0.6583 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.01128, allocations: 81.92 kB / 0.6584 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.809e-05/0.01134, allocations: 13.72 kB / 0.6584 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.01147, allocations: 117.6 kB / 0.6585 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of SimCode: time 8.01e-07/0.01147, allocations: 0 / 0.6585 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of Templates: time 0.003919/0.01539, allocations: 2.801 MB / 0.6612 GB, free: 30.27 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.406000608112663]