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.0015/0.0015, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001704/0.001704, allocations: 169.3 kB / 23.5 MB, free: 1.051 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.9821/0.9821, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.569/1.569, allocations: 273.5 MB / 0.5213 GB, free: 14.85 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.783e-06/1.783e-06, allocations: 0 / 0.647 GB, free: 38.72 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.484e-05, allocations: 6.141 kB / 0.647 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.002131/0.002156, allocations: 2.041 MB / 0.649 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.002856, allocations: 0.5484 MB / 0.6495 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.002929, allocations: 0 / 0.6495 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.003035, allocations: 18.84 kB / 0.6495 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.003161, allocations: 52.41 kB / 0.6496 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.003307, allocations: 38.62 kB / 0.6496 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.003519, allocations: 193.5 kB / 0.6498 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003633, allocations: 33.22 kB / 0.6498 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.003745, allocations: 100.8 kB / 0.6499 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.003844, allocations: 61.77 kB / 0.65 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.003874, allocations: 15.91 kB / 0.65 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.003894, allocations: 15.69 kB / 0.65 GB, free: 36.83 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.003926, allocations: 37.14 kB / 0.65 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.00399, allocations: 52.23 kB / 0.6501 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004166, allocations: 124.3 kB / 0.6502 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004167, allocations: 1.781 kB / 0.6502 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004169, allocations: 0 / 0.6502 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.004173, allocations: 0 / 0.6502 GB, free: 36.72 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.0005249/0.004698, allocations: 0.5175 MB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.004738, allocations: 13.38 kB / 0.6507 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.978e-05/0.004797, allocations: 25.56 kB / 0.6508 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.004938, allocations: 161.5 kB / 0.6509 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.004951, allocations: 10.59 kB / 0.6509 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.004979, allocations: 12.88 kB / 0.6509 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.005169, allocations: 142.3 kB / 0.6511 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.005181, allocations: 5.219 kB / 0.6511 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.005195, allocations: 6.094 kB / 0.6511 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.005204, allocations: 5.484 kB / 0.6511 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.005307, allocations: 79.77 kB / 0.6512 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.005726, allocations: 406.3 kB / 0.6516 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.005868, allocations: 123.8 kB / 0.6517 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.005921, allocations: 59.11 kB / 0.6517 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.005931, allocations: 3.469 kB / 0.6517 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.006092, allocations: 205.6 kB / 0.6519 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.006094, allocations: 0 / 0.6519 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0006993/0.006793, allocations: 0.5761 MB / 0.6525 GB, free: 34.86 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.006822, allocations: 139.5 kB / 0.6526 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.006912, allocations: 204 kB / 0.6528 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.006925, allocations: 32.36 kB / 0.6528 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.006969, allocations: 157 kB / 0.653 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.007001, allocations: 70.47 kB / 0.6531 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.007052, allocations: 50.5 kB / 0.6531 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.007101, allocations: 0.4996 MB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.007175, allocations: 101.6 kB / 0.6537 GB, free: 33.67 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.007267, allocations: 199.3 kB / 0.6539 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.007459, allocations: 317.5 kB / 0.6542 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.007461, allocations: 6.812 kB / 0.6542 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002413/0.007702, allocations: 316.8 kB / 0.6545 GB, free: 32.97 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.007729, allocations: 62.75 kB / 0.6546 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.007734, allocations: 1.969 kB / 0.6546 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.007749, allocations: 6.031 kB / 0.6546 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.00789, allocations: 47.05 kB / 0.6546 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.007901, allocations: 11.33 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.007974, allocations: 17 kB / 0.6546 GB, free: 32.89 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.007988, allocations: 12.19 kB / 0.6546 GB, free: 32.88 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.0001365/0.008124, allocations: 225.4 kB / 0.6549 GB, free: 32.68 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.008149, allocations: 23.81 kB / 0.6549 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.008178, allocations: 18.95 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.008182, allocations: 6.359 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008184, allocations: 0 / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.008203, allocations: 15.11 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.008233, allocations: 9.359 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.008284, allocations: 11.06 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.008343, allocations: 20.73 kB / 0.655 GB, free: 32.63 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003043/0.008647, allocations: 369 kB / 0.6553 GB, free: 32.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003074/0.008955, allocations: 0.563 MB / 0.6559 GB, free: 31.93 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.939e-05/0.009034, allocations: 86.98 kB / 0.6559 GB, free: 31.88 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.009077, allocations: 150.2 kB / 0.6561 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of Backend: time 2.6e-07/0.009077, allocations: 0 / 0.6561 GB, free: 31.75 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.009463, allocations: 346.2 kB / 0.6564 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001287/0.01075, allocations: 1.252 MB / 0.6576 GB, free: 30.37 MB / 0.5262 GB Notification: Performance of Templates: time 0.004407/0.01516, allocations: 2.661 MB / 0.6602 GB, free: 30.17 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.782509811921045]