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.000952/0.000952, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002147, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001101/0.001101, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002529, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.061/1.061, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0837/1.145, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7234/0.7234, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03639/0.7598, allocations: 21.04 MB / 0.5433 GB, free: 31.54 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.233e-06/1.233e-06, allocations: 0 / 0.5446 GB, free: 30.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.712e-05, allocations: 6.312 kB / 0.5446 GB, free: 30.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModelPeriodic): time 0.003191/0.003208, allocations: 2.685 MB / 0.5473 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.004209, allocations: 0.666 MB / 0.5479 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.004325, allocations: 4 kB / 0.5479 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.027e-05/0.004405, allocations: 27.66 kB / 0.5479 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.004583, allocations: 95.19 kB / 0.548 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.004739, allocations: 91.77 kB / 0.5481 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.005036, allocations: 358.4 kB / 0.5485 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.005163, allocations: 66.94 kB / 0.5485 GB, free: 26.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.005415, allocations: 208.6 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.005575, allocations: 103.7 kB / 0.5488 GB, free: 25.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.005615, allocations: 32 kB / 0.5488 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.005658, allocations: 28 kB / 0.5489 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.005701, allocations: 39.88 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.00579, allocations: 87.88 kB / 0.549 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.00602, allocations: 203.3 kB / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.006029, allocations: 0 / 0.5492 GB, free: 25.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00603, allocations: 4 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.006039, allocations: 0 / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006578/0.006696, allocations: 0.5639 MB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.006727, allocations: 11.89 kB / 0.5498 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.006787, allocations: 32.91 kB / 0.5498 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006977, allocations: 182.1 kB / 0.55 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.006998, allocations: 12.38 kB / 0.55 GB, free: 24.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.007035, allocations: 24.36 kB / 0.55 GB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.007277, allocations: 202.6 kB / 0.5502 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.007291, allocations: 8.109 kB / 0.5502 GB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.007308, allocations: 8.375 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.007314, allocations: 7.938 kB / 0.5502 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.007457, allocations: 136.4 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.008028, allocations: 372.3 kB / 0.5507 GB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.008293, allocations: 176.2 kB / 0.5509 GB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.00837, allocations: 99.73 kB / 0.551 GB, free: 23.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.008382, allocations: 4 kB / 0.551 GB, free: 23.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.008607, allocations: 331.3 kB / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.008609, allocations: 0 / 0.5513 GB, free: 23.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009618/0.009571, allocations: 0.8225 MB / 0.5521 GB, free: 22.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.009632, allocations: 277 kB / 0.5523 GB, free: 21.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.009738, allocations: 183.1 kB / 0.5525 GB, free: 21.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.009759, allocations: 33.7 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.009803, allocations: 120.9 kB / 0.5527 GB, free: 21.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.009871, allocations: 119 kB / 0.5528 GB, free: 21.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.009951, allocations: 70.03 kB / 0.5528 GB, free: 21.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.009997, allocations: 334.8 kB / 0.5532 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.0101, allocations: 147.8 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.01023, allocations: 241.1 kB / 0.5535 GB, free: 20.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.01044, allocations: 321.3 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01044, allocations: 0 / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003008/0.01074, allocations: 372.6 kB / 0.5542 GB, free: 19.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.01078, allocations: 93.09 kB / 0.5543 GB, free: 19.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01079, allocations: 4 kB / 0.5543 GB, free: 19.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.0108, allocations: 7.938 kB / 0.5543 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.01112, allocations: 100.1 kB / 0.5544 GB, free: 19.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01113, allocations: 8 kB / 0.5544 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.01126, allocations: 19.98 kB / 0.5544 GB, free: 19.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.01128, allocations: 16 kB / 0.5544 GB, free: 19.57 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 3 * 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.000157/0.01144, allocations: 214.8 kB / 0.5546 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.01148, allocations: 27.98 kB / 0.5547 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.01153, allocations: 34.58 kB / 0.5547 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01153, allocations: 8 kB / 0.5547 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01154, allocations: 0 / 0.5547 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.01154, allocations: 0 / 0.5547 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.01207, allocations: 0.519 MB / 0.5552 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01207, allocations: 3.938 kB / 0.5552 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.01235, allocations: 75.88 kB / 0.5553 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.01242, allocations: 27.84 kB / 0.5553 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01243, allocations: 0 / 0.5553 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.01245, allocations: 12 kB / 0.5553 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01245, allocations: 0 / 0.5553 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01245, allocations: 0 / 0.5553 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.01283, allocations: 0.5385 MB / 0.5559 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.01288, allocations: 12 kB / 0.5559 GB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01302, allocations: 15.98 kB / 0.5559 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.01309, allocations: 27.95 kB / 0.5559 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.0131, allocations: 11.98 kB / 0.5559 GB, free: 17.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.01316, allocations: 52.69 kB / 0.556 GB, free: 17.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01316, allocations: 4 kB / 0.556 GB, free: 17.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01346, allocations: 80 kB / 0.556 GB, free: 17.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001057/0.01356, allocations: 108.2 kB / 0.5562 GB, free: 17.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.01387, allocations: 480.3 kB / 0.5566 GB, free: 17.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.01388, allocations: 8.828 kB / 0.5566 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.01405, allocations: 267 kB / 0.5569 GB, free: 16.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.01447, allocations: 405.8 kB / 0.5573 GB, free: 16.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/0.02364, allocations: 0.6693 MB / 0.5579 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.912e-05/0.0237, allocations: 96.81 kB / 0.558 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.02383, allocations: 30.27 kB / 0.558 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.02406, allocations: 131.3 kB / 0.5582 GB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02406, allocations: 0 / 0.5582 GB, free: 15.4 MB / 410.7 MB Notification: Performance of Templates: time 0.288/0.3121, allocations: 4.489 MB / 0.5625 GB, free: 84.7 MB / 410.8 MB " [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: 3.615478504449129]