Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_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.001859/0.001859, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.002121/0.002121, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.664/1.664, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 1.526/1.526, allocations: 316.7 MB / 0.6144 GB, free: 92.89 MB / 410.7 MB " [Timeout remaining time 178] 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.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00425/0.00425, allocations: 78 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1916, allocations: 73.98 MB / 0.8472 GB, free: 4.945 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference): time 0.004447/0.196, allocations: 2.299 MB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3337/0.5297, allocations: 6.518 MB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.5299, allocations: 1.406 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.53, allocations: 30.48 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.5303, allocations: 80.89 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.5305, allocations: 54.17 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.5307, allocations: 254.1 kB / 0.8563 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.5309, allocations: 37.38 kB / 0.8563 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.531, allocations: 97.41 kB / 0.8564 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.5312, allocations: 100.2 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5312, allocations: 16.19 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.003e-05/0.5313, allocations: 16.69 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.5313, allocations: 39.86 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.5314, allocations: 96.25 kB / 0.8566 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.5316, allocations: 195.2 kB / 0.8568 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5316, allocations: 1.281 kB / 0.8568 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5316, allocations: 0 / 0.8568 GB, free: 21.78 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.5316, allocations: 0 / 0.8568 GB, free: 21.78 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000782/0.5324, allocations: 0.4925 MB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.5324, allocations: 8.688 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.5325, allocations: 24.83 kB / 0.8573 GB, free: 21.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.5327, allocations: 186.3 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5327, allocations: 10.42 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.5327, allocations: 22.27 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.5331, allocations: 188.5 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.5331, allocations: 2.75 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.5331, allocations: 10.94 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5331, allocations: 4.656 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.5335, allocations: 143.7 kB / 0.8579 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.5342, allocations: 484.9 kB / 0.8583 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.5346, allocations: 172.8 kB / 0.8585 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5348, allocations: 95.95 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.5348, allocations: 4.734 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.5351, allocations: 232 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.5351, allocations: 0 / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001285/0.5364, allocations: 0.6996 MB / 0.8595 GB, free: 20.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5364, allocations: 137.9 kB / 0.8596 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.5366, allocations: 217.2 kB / 0.8598 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.5366, allocations: 35.52 kB / 0.8599 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.5367, allocations: 133.1 kB / 0.86 GB, free: 19.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.5367, allocations: 70.44 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.5368, allocations: 54.03 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.5368, allocations: 334.6 kB / 0.8604 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.5371, allocations: 147.2 kB / 0.8606 GB, free: 19.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.5373, allocations: 224.7 kB / 0.8608 GB, free: 19.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.5376, allocations: 282.8 kB / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5376, allocations: 0.9375 kB / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000544/0.5382, allocations: 384.4 kB / 0.8614 GB, free: 18.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.5382, allocations: 65.17 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5382, allocations: 6.938 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5382, allocations: 3.25 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.5385, allocations: 52.55 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5385, allocations: 5.281 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.5386, allocations: 19.78 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.5387, allocations: 10.69 kB / 0.8616 GB, free: 18.77 MB / 490.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.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 (31): * Single equations (assignments): 29 * 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.0001588/0.5388, allocations: 176.1 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.5389, allocations: 24.14 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.5389, allocations: 30.48 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5389, allocations: 6.75 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5389, allocations: 0.75 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5389, allocations: 3.938 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.5396, allocations: 0.5402 MB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5396, allocations: 2.859 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.5398, allocations: 38.12 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5398, allocations: 2.219 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.5398, allocations: 12.12 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5398, allocations: 7.906 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5398, allocations: 0 / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006517/0.5404, allocations: 0.4889 MB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.5405, allocations: 17.48 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.5405, allocations: 7.844 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.5407, allocations: 17.88 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5408, allocations: 18.56 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5408, allocations: 11.31 kB / 0.863 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000112/0.5409, allocations: 161.4 kB / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5409, allocations: 0 / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002894/0.5412, allocations: 55.19 kB / 0.8632 GB, free: 17.94 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.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 9.92e-05/0.5413, allocations: 119 kB / 0.8633 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.5418, allocations: 382.3 kB / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5418, allocations: 0 / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.542, allocations: 172 kB / 0.8638 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.5425, allocations: 63.72 kB / 0.8639 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5437, allocations: 0.6876 MB / 0.8645 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.5438, allocations: 127.3 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.5439, allocations: 20.19 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.544, allocations: 21.67 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of SimCode: time 4.4e-07/0.544, allocations: 4 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of Templates: time 0.008582/0.5525, allocations: 3.638 MB / 0.8683 GB, free: 16.78 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.826875218190253]