Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.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.0007223/0.0007223, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001693, allocations: 443.8 kB / 10.3 MB, free: 400 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.0006906/0.0006906, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009407/0.001631, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.03/1.03, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09009/1.12, allocations: 53.67 MB / 243.2 MB, free: 15.59 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.8135/0.8135, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03365/0.8471, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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_Balyan2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.501e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference): time 0.003443/0.003468, allocations: 2.941 MB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00516/0.008628, allocations: 6.763 MB / 0.5539 GB, free: 20.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.008817, allocations: 7.938 kB / 0.5539 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.00892, allocations: 39.56 kB / 0.554 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.009144, allocations: 127 kB / 0.5541 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.009335, allocations: 71.83 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.009599, allocations: 393.9 kB / 0.5545 GB, free: 20.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.009745, allocations: 58.86 kB / 0.5546 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.00998, allocations: 254.5 kB / 0.5548 GB, free: 19.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.01017, allocations: 123.6 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.01021, allocations: 24 kB / 0.555 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.433e-05/0.01024, allocations: 28 kB / 0.555 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.01028, allocations: 43.81 kB / 0.5551 GB, free: 19.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.01036, allocations: 95.81 kB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.01057, allocations: 199.2 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.01059, allocations: 0 / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01059, allocations: 0 / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.0106, allocations: 4 kB / 0.5553 GB, free: 19.41 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.0006629/0.01126, allocations: 0.6166 MB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.0113, allocations: 23.84 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.01136, allocations: 36.91 kB / 0.556 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.01155, allocations: 197.5 kB / 0.5562 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.07e-05/0.01162, allocations: 20.73 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.01165, allocations: 24.33 kB / 0.5562 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.01187, allocations: 244 kB / 0.5565 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01189, allocations: 0 / 0.5565 GB, free: 18.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.01191, allocations: 15.98 kB / 0.5565 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.01191, allocations: 4 kB / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.01203, allocations: 133.8 kB / 0.5566 GB, free: 18.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.01269, allocations: 0.5116 MB / 0.5571 GB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01293, allocations: 161.2 kB / 0.5573 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.01299, allocations: 100.5 kB / 0.5574 GB, free: 17.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.013, allocations: 7.938 kB / 0.5574 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.01322, allocations: 321.8 kB / 0.5577 GB, free: 16.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.01322, allocations: 0 / 0.5577 GB, free: 16.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007786/0.014, allocations: 0.8008 MB / 0.5585 GB, free: 15.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.01405, allocations: 221.6 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01416, allocations: 221 kB / 0.5589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01418, allocations: 41.7 kB / 0.5589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.01422, allocations: 141.3 kB / 0.5591 GB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.01427, allocations: 119 kB / 0.5592 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.01433, allocations: 66.17 kB / 0.5592 GB, free: 15.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2587/0.273, allocations: 349.4 kB / 0.5596 GB, free: 79.61 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2732, allocations: 140.3 kB / 0.5597 GB, free: 79.51 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2733, allocations: 247.5 kB / 0.5599 GB, free: 79.28 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.2735, allocations: 347.6 kB / 0.5603 GB, free: 79.03 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2735, allocations: 1.125 kB / 0.5603 GB, free: 79.03 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003158/0.2738, allocations: 388.3 kB / 0.5606 GB, free: 78.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.2739, allocations: 91.27 kB / 0.5607 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2739, allocations: 2.906 kB / 0.5607 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2739, allocations: 5.656 kB / 0.5607 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.2742, allocations: 108.7 kB / 0.5608 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2742, allocations: 4.938 kB / 0.5608 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2744, allocations: 21.25 kB / 0.5609 GB, free: 78.71 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2744, allocations: 17.12 kB / 0.5609 GB, free: 78.71 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.0001823/0.2746, allocations: 208.1 kB / 0.5611 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.2746, allocations: 31.64 kB / 0.5611 GB, free: 78.53 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.2747, allocations: 37.84 kB / 0.5611 GB, free: 78.52 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2747, allocations: 2.906 kB / 0.5611 GB, free: 78.52 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2747, allocations: 2.5 kB / 0.5611 GB, free: 78.52 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2747, allocations: 1.828 kB / 0.5611 GB, free: 78.52 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.2752, allocations: 0.5151 MB / 0.5616 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2752, allocations: 2.812 kB / 0.5617 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.2755, allocations: 75.75 kB / 0.5617 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.2755, allocations: 23.69 kB / 0.5617 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2755, allocations: 3.734 kB / 0.5617 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.2755, allocations: 8.844 kB / 0.5618 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2755, allocations: 1.469 kB / 0.5618 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2755, allocations: 1.938 kB / 0.5618 GB, free: 78.21 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.2759, allocations: 0.5223 MB / 0.5623 GB, free: 77.88 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.2759, allocations: 14 kB / 0.5623 GB, free: 77.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2761, allocations: 16.23 kB / 0.5623 GB, free: 77.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2761, allocations: 26.97 kB / 0.5623 GB, free: 77.88 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2761, allocations: 9.938 kB / 0.5623 GB, free: 77.88 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.2762, allocations: 84.48 kB / 0.5624 GB, free: 77.87 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.2762, allocations: 0 / 0.5624 GB, free: 77.87 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002381/0.2764, allocations: 87.66 kB / 0.5625 GB, free: 77.87 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.0001094/0.2766, allocations: 108.2 kB / 0.5626 GB, free: 77.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.2769, allocations: 482.9 kB / 0.5631 GB, free: 77.44 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.2769, allocations: 2.156 kB / 0.5631 GB, free: 77.44 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.277, allocations: 264.1 kB / 0.5633 GB, free: 77.25 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2774, allocations: 132.8 kB / 0.5634 GB, free: 77.24 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/0.2856, allocations: 0.7312 MB / 0.5642 GB, free: 76.87 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2857, allocations: 160.7 kB / 0.5643 GB, free: 76.79 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.286, allocations: 156.7 kB / 0.5645 GB, free: 76.75 MB / 410.8 MB Notification: Performance of SimCode: time 1.723e-06/0.286, allocations: 0 / 0.5645 GB, free: 76.75 MB / 410.8 MB Notification: Performance of Templates: time 0.00531/0.2913, allocations: 4.021 MB / 0.5684 GB, free: 76.05 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone_Balyan2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.621335026808083]