Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.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.002637/0.002637, allocations: 84.44 kB / 19.17 MB, free: 0.7344 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.003309/0.003309, allocations: 173.9 kB / 22.46 MB, free: 2.098 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.648/1.648, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.415/1.415, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.N02AX06_Tapentadol.Tapentadol_Khalil2020_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.521e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final): time 0.004734/0.004759, allocations: 3.014 MB / 0.7028 GB, free: 5.555 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007568/0.01233, allocations: 6.639 MB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.01261, allocations: 4 kB / 0.7093 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.01282, allocations: 39.56 kB / 0.7094 GB, free: 14.86 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.01329, allocations: 130.9 kB / 0.7095 GB, free: 14.73 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.01366, allocations: 83.84 kB / 0.7096 GB, free: 14.65 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.0144, allocations: 437.8 kB / 0.71 GB, free: 14.22 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.01463, allocations: 66.02 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.01509, allocations: 231.4 kB / 0.7103 GB, free: 13.93 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.01546, allocations: 119.7 kB / 0.7104 GB, free: 13.82 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.01554, allocations: 32 kB / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.01562, allocations: 32 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.01573, allocations: 71.67 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.01596, allocations: 119.7 kB / 0.7106 GB, free: 13.57 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.0166, allocations: 363 kB / 0.711 GB, free: 13.21 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.01661, allocations: 0 / 0.711 GB, free: 13.21 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.552e-06/0.01661, allocations: 3.938 kB / 0.711 GB, free: 13.21 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.01661, allocations: 8 kB / 0.711 GB, free: 13.2 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001573/0.01819, allocations: 0.5959 MB / 0.7116 GB, free: 12.55 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.01823, allocations: 8.031 kB / 0.7116 GB, free: 12.55 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01836, allocations: 40.7 kB / 0.7116 GB, free: 12.51 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.01886, allocations: 220.7 kB / 0.7118 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.0189, allocations: 20.88 kB / 0.7118 GB, free: 12.25 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.01898, allocations: 24.31 kB / 0.7119 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.01982, allocations: 322.1 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.01984, allocations: 0 / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.01988, allocations: 8 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.01989, allocations: 4 kB / 0.7122 GB, free: 11.87 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007717/0.02066, allocations: 244.2 kB / 0.7124 GB, free: 11.62 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.0223, allocations: 0.6621 MB / 0.7131 GB, free: 10.92 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/0.02325, allocations: 266 kB / 0.7133 GB, free: 10.64 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.02369, allocations: 164.4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.02371, allocations: 4 kB / 0.7135 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/0.0245, allocations: 363.5 kB / 0.7138 GB, free: 10.05 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.973e-06/0.0245, allocations: 0 / 0.7138 GB, free: 10.05 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.003174/0.02767, allocations: 1.139 MB / 0.7149 GB, free: 8.82 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.02788, allocations: 217.6 kB / 0.7151 GB, free: 8.559 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.02831, allocations: 257.8 kB / 0.7154 GB, free: 8.301 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.02837, allocations: 33.7 kB / 0.7154 GB, free: 8.262 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.02857, allocations: 160.8 kB / 0.7156 GB, free: 8.098 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.02874, allocations: 119.1 kB / 0.7157 GB, free: 7.98 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.02892, allocations: 66.2 kB / 0.7158 GB, free: 7.91 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.02917, allocations: 350.7 kB / 0.7161 GB, free: 7.559 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.02971, allocations: 219.8 kB / 0.7163 GB, free: 7.324 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.03035, allocations: 322.9 kB / 0.7166 GB, free: 6.941 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.03136, allocations: 458.1 kB / 0.717 GB, free: 6.426 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03137, allocations: 0 / 0.717 GB, free: 6.426 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001416/0.03278, allocations: 0.5846 MB / 0.7176 GB, free: 5.797 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.03288, allocations: 89.88 kB / 0.7177 GB, free: 5.691 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.0329, allocations: 7.984 kB / 0.7177 GB, free: 5.684 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.03292, allocations: 4 kB / 0.7177 GB, free: 5.68 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.03341, allocations: 80.23 kB / 0.7178 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.03343, allocations: 8 kB / 0.7178 GB, free: 5.594 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.03376, allocations: 23.98 kB / 0.7178 GB, free: 5.57 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.0338, allocations: 15.94 kB / 0.7178 GB, free: 5.555 MB / 426.8 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: 12 * 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 (50): * Single equations (assignments): 47 * 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.0004011/0.0342, allocations: 243.6 kB / 0.7181 GB, free: 5.297 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.03429, allocations: 35.75 kB / 0.7181 GB, free: 5.262 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/0.03439, allocations: 34.95 kB / 0.7181 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.0344, allocations: 4 kB / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.0344, allocations: 0 / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.03441, allocations: 0 / 0.7181 GB, free: 5.223 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.0363, allocations: 0.825 MB / 0.7189 GB, free: 4.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03631, allocations: 0 / 0.7189 GB, free: 4.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.03675, allocations: 59.91 kB / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.03675, allocations: 0 / 0.719 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.0368, allocations: 11.98 kB / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.0368, allocations: 4 kB / 0.719 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.0368, allocations: 4 kB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.0386, allocations: 0.7679 MB / 0.7198 GB, free: 3.441 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.03878, allocations: 55.77 kB / 0.7198 GB, free: 3.387 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.03887, allocations: 12 kB / 0.7198 GB, free: 3.375 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.03918, allocations: 15.98 kB / 0.7199 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.03932, allocations: 35.94 kB / 0.7199 GB, free: 3.324 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.03936, allocations: 19.92 kB / 0.7199 GB, free: 3.305 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002931/0.03965, allocations: 181.2 kB / 0.7201 GB, free: 3.129 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.03965, allocations: 0 / 0.7201 GB, free: 3.129 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.1922/0.2319, allocations: 92.89 kB / 0.7202 GB, free: 37.24 MB / 426.8 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 (29): * Single equations (assignments): 25 * 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.0001782/0.2321, allocations: 118.4 kB / 0.7203 GB, free: 37.16 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008414/0.2329, allocations: 0.5887 MB / 0.7209 GB, free: 36.81 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2329, allocations: 0 / 0.7209 GB, free: 36.81 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.2332, allocations: 316.1 kB / 0.7212 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.2338, allocations: 87.17 kB / 0.7212 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2352, allocations: 0.8631 MB / 0.7221 GB, free: 36.19 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2353, allocations: 167 kB / 0.7222 GB, free: 36.11 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2355, allocations: 34.03 kB / 0.7223 GB, free: 36.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.2356, allocations: 27.42 kB / 0.7223 GB, free: 36.09 MB / 426.8 MB Notification: Performance of SimCode: time 5.71e-07/0.2356, allocations: 4.656 kB / 0.7223 GB, free: 36.09 MB / 426.8 MB Notification: Performance of Templates: time 0.01018/0.2457, allocations: 4.837 MB / 0.727 GB, free: 35.64 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol_Khalil2020_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.012363685993478]