Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.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.002668/0.002668, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.002943/0.002943, allocations: 173.9 kB / 22.46 MB, free: 2.105 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 5.613 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.368/1.368, allocations: 293 MB / 0.5393 GB, free: 49.7 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.688e-05, allocations: 2.281 kB / 0.7 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol): time 0.003314/0.003341, allocations: 3.024 MB / 0.7029 GB, free: 5.543 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.01016, allocations: 6.643 MB / 0.7094 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.01052, allocations: 4 kB / 0.7094 GB, free: 14.89 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.01073, allocations: 39.56 kB / 0.7095 GB, free: 14.85 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.01111, allocations: 130.9 kB / 0.7096 GB, free: 14.72 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.01143, allocations: 91.83 kB / 0.7097 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.01197, allocations: 433.8 kB / 0.7101 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.01218, allocations: 65.34 kB / 0.7101 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.01253, allocations: 223.4 kB / 0.7104 GB, free: 13.92 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.01284, allocations: 127.6 kB / 0.7105 GB, free: 13.8 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.01289, allocations: 28 kB / 0.7105 GB, free: 13.77 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.01295, allocations: 36 kB / 0.7105 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.01305, allocations: 63.77 kB / 0.7106 GB, free: 13.67 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.01323, allocations: 127.6 kB / 0.7107 GB, free: 13.55 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.01378, allocations: 362.9 kB / 0.7111 GB, free: 13.19 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01378, allocations: 4 kB / 0.7111 GB, free: 13.19 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01379, allocations: 0 / 0.7111 GB, free: 13.19 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01379, allocations: 0 / 0.7111 GB, free: 13.19 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.001333/0.01512, allocations: 0.6037 MB / 0.7117 GB, free: 12.54 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.01518, allocations: 11.89 kB / 0.7117 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.01528, allocations: 40.69 kB / 0.7117 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.01576, allocations: 224.7 kB / 0.7119 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01579, allocations: 20.88 kB / 0.7119 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.01585, allocations: 28.33 kB / 0.712 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.01647, allocations: 310.2 kB / 0.7123 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.0165, allocations: 0 / 0.7123 GB, free: 11.86 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.01653, allocations: 12 kB / 0.7123 GB, free: 11.85 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.01654, allocations: 4 kB / 0.7123 GB, free: 11.85 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.0171, allocations: 244.2 kB / 0.7125 GB, free: 11.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01837, allocations: 0.6543 MB / 0.7132 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.01908, allocations: 279.5 kB / 0.7134 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.01953, allocations: 164.4 kB / 0.7136 GB, free: 10.44 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.01955, allocations: 7.938 kB / 0.7136 GB, free: 10.43 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/0.02013, allocations: 367.5 kB / 0.7139 GB, free: 10.02 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.02014, allocations: 4 kB / 0.7139 GB, free: 10.02 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002384/0.02252, allocations: 1.124 MB / 0.715 GB, free: 8.801 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.0227, allocations: 213.6 kB / 0.7152 GB, free: 8.543 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.02302, allocations: 261.8 kB / 0.7155 GB, free: 8.281 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.02307, allocations: 37.7 kB / 0.7155 GB, free: 8.238 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.02322, allocations: 152.9 kB / 0.7157 GB, free: 8.082 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.02334, allocations: 119 kB / 0.7158 GB, free: 7.965 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.02349, allocations: 74.19 kB / 0.7159 GB, free: 7.887 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.02369, allocations: 346.7 kB / 0.7162 GB, free: 7.539 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.02407, allocations: 219.9 kB / 0.7164 GB, free: 7.305 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.02455, allocations: 326.9 kB / 0.7167 GB, free: 6.918 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009924/0.02554, allocations: 454.1 kB / 0.7171 GB, free: 6.406 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.02554, allocations: 4 kB / 0.7171 GB, free: 6.402 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009952/0.02654, allocations: 0.5768 MB / 0.7177 GB, free: 5.781 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.02663, allocations: 93.09 kB / 0.7178 GB, free: 5.672 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.02664, allocations: 4 kB / 0.7178 GB, free: 5.668 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.02666, allocations: 4.344 kB / 0.7178 GB, free: 5.664 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.02699, allocations: 83.89 kB / 0.7179 GB, free: 5.582 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.027, allocations: 11.97 kB / 0.7179 GB, free: 5.57 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.02723, allocations: 27.86 kB / 0.7179 GB, free: 5.543 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.02726, allocations: 19.94 kB / 0.7179 GB, free: 5.523 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.0003239/0.02759, allocations: 243.4 kB / 0.7182 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.02765, allocations: 35.81 kB / 0.7182 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.592e-05/0.02773, allocations: 30.95 kB / 0.7182 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.02774, allocations: 4 kB / 0.7182 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.02774, allocations: 0 / 0.7182 GB, free: 5.199 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.02775, allocations: 3.984 kB / 0.7182 GB, free: 5.195 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.02912, allocations: 0.8173 MB / 0.719 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02913, allocations: 0 / 0.719 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.02945, allocations: 59.89 kB / 0.7191 GB, free: 4.262 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.02945, allocations: 8 kB / 0.7191 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.02948, allocations: 8 kB / 0.7191 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.02948, allocations: 0 / 0.7191 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02948, allocations: 0 / 0.7191 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.03079, allocations: 0.7679 MB / 0.7199 GB, free: 3.426 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.03091, allocations: 51.78 kB / 0.7199 GB, free: 3.375 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.03097, allocations: 16 kB / 0.7199 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.0312, allocations: 23.97 kB / 0.72 GB, free: 3.336 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.03131, allocations: 27.95 kB / 0.72 GB, free: 3.309 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.03134, allocations: 19.92 kB / 0.72 GB, free: 3.289 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.2515/0.2828, allocations: 181.6 kB / 0.7202 GB, free: 37.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2828, allocations: 1.312 kB / 0.7202 GB, free: 37.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0008779/0.2837, allocations: 86.38 kB / 0.7203 GB, free: 37.2 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.0001828/0.2839, allocations: 119.2 kB / 0.7204 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.2848, allocations: 0.5886 MB / 0.7209 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2848, allocations: 0 / 0.7209 GB, free: 36.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.2852, allocations: 318.2 kB / 0.7212 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.2858, allocations: 91.39 kB / 0.7213 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2874, allocations: 0.8553 MB / 0.7222 GB, free: 36.15 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2876, allocations: 168.3 kB / 0.7223 GB, free: 36.07 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.2877, allocations: 36.41 kB / 0.7224 GB, free: 36.05 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/0.2878, allocations: 28.48 kB / 0.7224 GB, free: 36.05 MB / 426.8 MB Notification: Performance of SimCode: time 9.02e-07/0.2878, allocations: 1.375 kB / 0.7224 GB, free: 36.05 MB / 426.8 MB Notification: Performance of Templates: time 0.01056/0.2984, allocations: 4.836 MB / 0.7271 GB, free: 35.6 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.921283211791888]