Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.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.001083/0.001083, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002585, 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.001043/0.001043, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002516, 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 0.9672/0.9672, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.068, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7853/0.7853, allocations: 291.1 MB / 0.5227 GB, free: 52.44 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03356/0.8189, allocations: 21.05 MB / 0.5433 GB, free: 31.46 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.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5447 GB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.517e-05, allocations: 10.19 kB / 0.5447 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone): time 0.00256/0.002585, allocations: 2.959 MB / 0.5476 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.007298, allocations: 6.778 MB / 0.5543 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.00742, allocations: 4 kB / 0.5543 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.226e-05/0.007512, allocations: 39.56 kB / 0.5543 GB, free: 20.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.007692, allocations: 126.9 kB / 0.5544 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.007847, allocations: 71.83 kB / 0.5545 GB, free: 19.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.008097, allocations: 393.9 kB / 0.5549 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.008233, allocations: 62.86 kB / 0.5549 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.008469, allocations: 250.5 kB / 0.5552 GB, free: 19.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.00867, allocations: 123.7 kB / 0.5553 GB, free: 19.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.008704, allocations: 27.94 kB / 0.5553 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.423e-05/0.008738, allocations: 28 kB / 0.5553 GB, free: 19.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.008776, allocations: 35.88 kB / 0.5554 GB, free: 19.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.008848, allocations: 95.81 kB / 0.5555 GB, free: 18.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.009047, allocations: 199.2 kB / 0.5556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.009057, allocations: 0 / 0.5556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.009058, allocations: 0 / 0.5556 GB, free: 18.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.009066, allocations: 0 / 0.5556 GB, free: 18.79 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006663/0.009733, allocations: 0.6321 MB / 0.5563 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.009769, allocations: 8.031 kB / 0.5563 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.009829, allocations: 36.91 kB / 0.5563 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.01003, allocations: 193.5 kB / 0.5565 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.01005, allocations: 24.72 kB / 0.5565 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.01009, allocations: 24.33 kB / 0.5565 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.01031, allocations: 240.6 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01032, allocations: 0 / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.01034, allocations: 11.98 kB / 0.5568 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.01034, allocations: 4 kB / 0.5568 GB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.01046, allocations: 138.6 kB / 0.5569 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.011, allocations: 0.5113 MB / 0.5574 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.01118, allocations: 170.4 kB / 0.5576 GB, free: 16.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.01124, allocations: 100.5 kB / 0.5577 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.01125, allocations: 11.94 kB / 0.5577 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.01144, allocations: 318.6 kB / 0.558 GB, free: 16.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.01144, allocations: 0 / 0.558 GB, free: 16.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000746/0.01218, allocations: 0.8118 MB / 0.5588 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.01225, allocations: 280.9 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2619/0.2742, allocations: 225.1 kB / 0.5593 GB, free: 79.61 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.2742, allocations: 38.31 kB / 0.5593 GB, free: 79.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.2743, allocations: 139.8 kB / 0.5594 GB, free: 79.49 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.2744, allocations: 113.3 kB / 0.5595 GB, free: 79.45 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.22e-05/0.2745, allocations: 71.09 kB / 0.5596 GB, free: 79.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.2745, allocations: 347.3 kB / 0.5599 GB, free: 79.12 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.2746, allocations: 146.3 kB / 0.5601 GB, free: 79.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2747, allocations: 248.2 kB / 0.5603 GB, free: 78.79 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.2749, allocations: 352.8 kB / 0.5607 GB, free: 78.53 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2749, allocations: 0 / 0.5607 GB, free: 78.53 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000316/0.2752, allocations: 383.4 kB / 0.561 GB, free: 78.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.2753, allocations: 94.17 kB / 0.5611 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2753, allocations: 4.219 kB / 0.5611 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2753, allocations: 4.219 kB / 0.5611 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.2756, allocations: 106 kB / 0.5612 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2757, allocations: 10.59 kB / 0.5612 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2758, allocations: 18.19 kB / 0.5612 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.2758, allocations: 13.91 kB / 0.5613 GB, free: 78.21 MB / 410.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001395/0.276, allocations: 205.5 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.276, allocations: 36.66 kB / 0.5615 GB, free: 78.04 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.2761, allocations: 34.94 kB / 0.5615 GB, free: 78.03 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2761, allocations: 3.156 kB / 0.5615 GB, free: 78.03 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2761, allocations: 0.5312 kB / 0.5615 GB, free: 78.03 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2761, allocations: 7.375 kB / 0.5615 GB, free: 78.03 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.2766, allocations: 0.5219 MB / 0.562 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2766, allocations: 1.031 kB / 0.562 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2768, allocations: 68.5 kB / 0.5621 GB, free: 77.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.2769, allocations: 24.8 kB / 0.5621 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2769, allocations: 2 kB / 0.5621 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.2769, allocations: 12.25 kB / 0.5621 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2769, allocations: 2.625 kB / 0.5622 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2769, allocations: 0 / 0.5622 GB, free: 77.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.2773, allocations: 0.5233 MB / 0.5627 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2773, allocations: 11.11 kB / 0.5627 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2775, allocations: 16.8 kB / 0.5627 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.2775, allocations: 25.66 kB / 0.5627 GB, free: 77.38 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.2775, allocations: 11.3 kB / 0.5627 GB, free: 77.38 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.803e-05/0.2776, allocations: 80.91 kB / 0.5628 GB, free: 77.36 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2776, allocations: 1.031 kB / 0.5628 GB, free: 77.36 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002852/0.2779, allocations: 84.73 kB / 0.5629 GB, free: 77.36 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.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.0001014/0.278, allocations: 104.2 kB / 0.563 GB, free: 77.29 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.2783, allocations: 492.5 kB / 0.5635 GB, free: 76.94 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.2783, allocations: 3.375 kB / 0.5635 GB, free: 76.94 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.2785, allocations: 282.3 kB / 0.5637 GB, free: 76.74 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.279, allocations: 0.6553 MB / 0.5644 GB, free: 76.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.2892, allocations: 0.7276 MB / 0.5651 GB, free: 75.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.454e-05/0.2893, allocations: 95.62 kB / 0.5652 GB, free: 75.66 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.2894, allocations: 34.73 kB / 0.5652 GB, free: 75.66 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.2897, allocations: 151.2 kB / 0.5653 GB, free: 75.61 MB / 410.8 MB Notification: Performance of SimCode: time 9.22e-07/0.2897, allocations: 0 / 0.5653 GB, free: 75.61 MB / 410.8 MB Notification: Performance of Templates: time 0.008376/0.298, allocations: 5.282 MB / 0.5705 GB, free: 74.5 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6542782839387655]