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.002398/0.002398, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002851/0.002851, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.677/1.677, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.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.424/1.424, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.389e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.594 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC01_Dextromoramide.Dextromoramide_Lanon1989_reference): time 0.00281/0.002834, allocations: 2.295 MB / 0.7021 GB, free: 6.281 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005665/0.008499, allocations: 6.53 MB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.008803, allocations: 4 kB / 0.7085 GB, free: 15.74 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.008982, allocations: 27.7 kB / 0.7085 GB, free: 15.71 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.009315, allocations: 83.27 kB / 0.7086 GB, free: 15.63 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.009717, allocations: 59.88 kB / 0.7086 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.01019, allocations: 266.6 kB / 0.7089 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.01037, allocations: 36.5 kB / 0.7089 GB, free: 15.28 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002558/0.01062, allocations: 143.6 kB / 0.7091 GB, free: 15.14 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.01087, allocations: 79.78 kB / 0.7092 GB, free: 15.06 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.01092, allocations: 16 kB / 0.7092 GB, free: 15.04 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-05/0.01096, allocations: 16 kB / 0.7092 GB, free: 15.03 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.01102, allocations: 43.78 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.01114, allocations: 71.84 kB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.01148, allocations: 203.4 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.01148, allocations: 3.938 kB / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01148, allocations: 0 / 0.7095 GB, free: 14.71 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01149, allocations: 0 / 0.7095 GB, free: 14.71 MB / 426.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.00102/0.01251, allocations: 0.4929 MB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.01255, allocations: 8.031 kB / 0.71 GB, free: 14.16 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.01263, allocations: 24.8 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.01292, allocations: 174.5 kB / 0.7102 GB, free: 13.94 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.01295, allocations: 16.61 kB / 0.7102 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.013, allocations: 16.31 kB / 0.7102 GB, free: 13.91 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.01352, allocations: 202 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.01355, allocations: 3.953 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.01356, allocations: 0 / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01357, allocations: 4 kB / 0.7104 GB, free: 13.69 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.01397, allocations: 142.3 kB / 0.7105 GB, free: 13.55 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01513, allocations: 485.5 kB / 0.711 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.01574, allocations: 184 kB / 0.7112 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.01598, allocations: 94.66 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.01599, allocations: 3.938 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.01643, allocations: 239.5 kB / 0.7115 GB, free: 12.48 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.01643, allocations: 4 kB / 0.7115 GB, free: 12.47 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001662/0.0181, allocations: 0.6947 MB / 0.7122 GB, free: 11.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.01821, allocations: 140.5 kB / 0.7123 GB, free: 11.55 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.01849, allocations: 216 kB / 0.7125 GB, free: 11.33 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.01853, allocations: 33.7 kB / 0.7126 GB, free: 11.29 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01864, allocations: 132.5 kB / 0.7127 GB, free: 11.16 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.01872, allocations: 75.42 kB / 0.7127 GB, free: 11.08 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.01882, allocations: 45.7 kB / 0.7128 GB, free: 11.03 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01901, allocations: 342.7 kB / 0.7131 GB, free: 10.69 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.0193, allocations: 145 kB / 0.7133 GB, free: 10.53 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.01962, allocations: 215.7 kB / 0.7135 GB, free: 10.27 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.02012, allocations: 288.8 kB / 0.7137 GB, free: 9.949 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.02012, allocations: 4 kB / 0.7137 GB, free: 9.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007183/0.02084, allocations: 394.7 kB / 0.7141 GB, free: 9.531 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.02091, allocations: 67.39 kB / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.02092, allocations: 0 / 0.7142 GB, free: 9.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.02094, allocations: 4 kB / 0.7142 GB, free: 9.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.02116, allocations: 51.84 kB / 0.7142 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.02117, allocations: 4 kB / 0.7142 GB, free: 9.395 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.02137, allocations: 19.98 kB / 0.7143 GB, free: 9.375 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.02139, allocations: 12 kB / 0.7143 GB, free: 9.363 MB / 426.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.0002342/0.02162, allocations: 177.8 kB / 0.7144 GB, free: 9.176 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.02166, allocations: 19.91 kB / 0.7145 GB, free: 9.156 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.02173, allocations: 25.95 kB / 0.7145 GB, free: 9.129 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.02173, allocations: 7.922 kB / 0.7145 GB, free: 9.121 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.02174, allocations: 3.938 kB / 0.7145 GB, free: 9.117 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02174, allocations: 0 / 0.7145 GB, free: 9.117 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.02268, allocations: 0.5469 MB / 0.715 GB, free: 8.523 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.02268, allocations: 4 kB / 0.715 GB, free: 8.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.02288, allocations: 31.97 kB / 0.7151 GB, free: 8.488 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02289, allocations: 0 / 0.7151 GB, free: 8.488 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.02291, allocations: 8 kB / 0.7151 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.02291, allocations: 0 / 0.7151 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02291, allocations: 4 kB / 0.7151 GB, free: 8.477 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/0.02383, allocations: 0.496 MB / 0.7156 GB, free: 7.949 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.02388, allocations: 23.89 kB / 0.7156 GB, free: 7.926 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.02393, allocations: 12 kB / 0.7156 GB, free: 7.914 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.02411, allocations: 11.98 kB / 0.7156 GB, free: 7.902 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.02421, allocations: 23.91 kB / 0.7156 GB, free: 7.879 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.02423, allocations: 11.98 kB / 0.7156 GB, free: 7.867 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001891/0.02442, allocations: 159.4 kB / 0.7158 GB, free: 7.711 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02442, allocations: 0 / 0.7158 GB, free: 7.711 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002994/0.02472, allocations: 52 kB / 0.7158 GB, free: 7.66 MB / 426.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 0.0001628/0.02488, allocations: 114.9 kB / 0.716 GB, free: 7.543 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.02555, allocations: 383.7 kB / 0.7163 GB, free: 7.125 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02555, allocations: 0 / 0.7163 GB, free: 7.125 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.02583, allocations: 169 kB / 0.7165 GB, free: 6.941 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.0263, allocations: 68.27 kB / 0.7165 GB, free: 6.875 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.02753, allocations: 0.5732 MB / 0.7171 GB, free: 6.273 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02767, allocations: 133.5 kB / 0.7172 GB, free: 6.121 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.754e-05/0.02777, allocations: 25.94 kB / 0.7173 GB, free: 6.094 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.02784, allocations: 24.48 kB / 0.7173 GB, free: 6.07 MB / 426.8 MB Notification: Performance of SimCode: time 4.91e-07/0.02784, allocations: 0 / 0.7173 GB, free: 6.07 MB / 426.8 MB Notification: Performance of Templates: time 0.1979/0.2257, allocations: 3.312 MB / 0.7205 GB, free: 37.02 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.953220867086202]