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.001432/0.001432, allocations: 92.22 kB / 19.65 MB, free: 276 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.001635/0.001635, allocations: 173 kB / 23.02 MB, free: 1.547 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.8986/0.8986, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.52/1.52, allocations: 273.5 MB / 0.5209 GB, free: 14.84 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.513e-06/1.513e-06, allocations: 0 / 0.6469 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.601e-05, allocations: 6.25 kB / 0.647 GB, free: 38.58 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002014/0.00204, allocations: 2.047 MB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006393/0.002679, allocations: 0.5502 MB / 0.6495 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.002739, allocations: 0 / 0.6495 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002845, allocations: 22.69 kB / 0.6495 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.002968, allocations: 47.3 kB / 0.6496 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.003113, allocations: 43.06 kB / 0.6496 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.003312, allocations: 193.8 kB / 0.6498 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.00342, allocations: 27.86 kB / 0.6498 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003525, allocations: 104.2 kB / 0.6499 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.00362, allocations: 61.64 kB / 0.65 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.003647, allocations: 16.53 kB / 0.65 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.003666, allocations: 15.03 kB / 0.65 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.003694, allocations: 30.36 kB / 0.65 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.003751, allocations: 59.69 kB / 0.6501 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.003899, allocations: 118 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003902, allocations: 1.812 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003902, allocations: 1.812 kB / 0.6502 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003907, allocations: 0 / 0.6502 GB, free: 36.58 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.0005176/0.004424, allocations: 0.517 MB / 0.6507 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.004461, allocations: 10.81 kB / 0.6507 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.004516, allocations: 22.09 kB / 0.6507 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.004656, allocations: 166 kB / 0.6509 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.004675, allocations: 10.12 kB / 0.6509 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.004701, allocations: 14.97 kB / 0.6509 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.004879, allocations: 139.7 kB / 0.6511 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.004893, allocations: 9.344 kB / 0.6511 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.004906, allocations: 5.5 kB / 0.6511 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.004915, allocations: 7.719 kB / 0.6511 GB, free: 35.81 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.005007, allocations: 83.16 kB / 0.6512 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.005418, allocations: 400.5 kB / 0.6515 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.005553, allocations: 118.2 kB / 0.6516 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.005606, allocations: 67.53 kB / 0.6517 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.005615, allocations: 3.375 kB / 0.6517 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.005769, allocations: 200.8 kB / 0.6519 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.00577, allocations: 0 / 0.6519 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.000673/0.006443, allocations: 0.5735 MB / 0.6525 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.00648, allocations: 141.9 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.00656, allocations: 198.6 kB / 0.6528 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006571, allocations: 34.89 kB / 0.6528 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.006613, allocations: 159.3 kB / 0.653 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.006645, allocations: 69.95 kB / 0.653 GB, free: 34.15 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.006694, allocations: 54.28 kB / 0.6531 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.00674, allocations: 0.5003 MB / 0.6536 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.006805, allocations: 98.36 kB / 0.6537 GB, free: 33.53 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.006888, allocations: 198.6 kB / 0.6539 GB, free: 33.33 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.007065, allocations: 319 kB / 0.6542 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.007066, allocations: 0 / 0.6542 GB, free: 33.04 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002277/0.007294, allocations: 316.1 kB / 0.6545 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.007319, allocations: 63.59 kB / 0.6545 GB, free: 32.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007325, allocations: 5.438 kB / 0.6545 GB, free: 32.76 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.00734, allocations: 3.5 kB / 0.6545 GB, free: 32.76 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.007478, allocations: 50.08 kB / 0.6546 GB, free: 32.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.007487, allocations: 19.17 kB / 0.6546 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.007554, allocations: 13.38 kB / 0.6546 GB, free: 32.74 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.007566, allocations: 11.34 kB / 0.6546 GB, free: 32.74 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.0001351/0.007702, allocations: 229 kB / 0.6548 GB, free: 32.53 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.007725, allocations: 21.28 kB / 0.6549 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.007752, allocations: 22.73 kB / 0.6549 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.007755, allocations: 3.688 kB / 0.6549 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.007759, allocations: 2 kB / 0.6549 GB, free: 32.51 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.007763, allocations: 3.938 kB / 0.6549 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.008141, allocations: 0.5141 MB / 0.6554 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008143, allocations: 3.375 kB / 0.6554 GB, free: 32.09 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.008251, allocations: 32.08 kB / 0.6554 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008254, allocations: 3 kB / 0.6554 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.008269, allocations: 11.81 kB / 0.6555 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00827, allocations: 0 / 0.6555 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.008271, allocations: 0 / 0.6555 GB, free: 32.08 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.008536, allocations: 459.5 kB / 0.6559 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.008552, allocations: 19.78 kB / 0.6559 GB, free: 31.74 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.008574, allocations: 7.406 kB / 0.6559 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.008639, allocations: 8.5 kB / 0.6559 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.008694, allocations: 24.31 kB / 0.6559 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.008704, allocations: 8.156 kB / 0.656 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.906e-05/0.008744, allocations: 151.3 kB / 0.6561 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.008744, allocations: 2.094 kB / 0.6561 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001802/0.008924, allocations: 46.53 kB / 0.6561 GB, free: 31.59 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 7.256e-05/0.008996, allocations: 107.1 kB / 0.6562 GB, free: 31.5 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.009275, allocations: 326.4 kB / 0.6566 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009277, allocations: 0 / 0.6566 GB, free: 31.25 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.009388, allocations: 150.4 kB / 0.6567 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.009649, allocations: 48.39 kB / 0.6567 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.01089, allocations: 0.5597 MB / 0.6573 GB, free: 30.76 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.01093, allocations: 81.38 kB / 0.6574 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.01099, allocations: 17.39 kB / 0.6574 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.01103, allocations: 22.59 kB / 0.6574 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of SimCode: time 8.12e-07/0.01104, allocations: 0 / 0.6574 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of Templates: time 0.004153/0.01519, allocations: 2.634 MB / 0.66 GB, free: 30.44 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.5977320042438805]