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.001031/0.001031, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001106/0.001106, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9722/0.9722, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.6812/0.6812, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.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.593e-06/1.593e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.913e-05, allocations: 5.234 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol): time 0.00275/0.002779, allocations: 3.025 MB / 0.7003 GB, free: 7.316 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.007371, allocations: 6.65 MB / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.007592, allocations: 0 / 0.7068 GB, free: 0.6562 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.007745, allocations: 43.56 kB / 0.7069 GB, free: 0.6133 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.007997, allocations: 130.9 kB / 0.707 GB, free: 496 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.008273, allocations: 87.78 kB / 0.7071 GB, free: 408 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.00858, allocations: 433.8 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.008753, allocations: 62.08 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.008972, allocations: 223.4 kB / 0.7078 GB, free: 15.7 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.009205, allocations: 127.6 kB / 0.7079 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.009245, allocations: 36 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.009282, allocations: 32 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.009328, allocations: 67.69 kB / 0.708 GB, free: 15.44 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.009433, allocations: 123.7 kB / 0.7081 GB, free: 15.32 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.009757, allocations: 363 kB / 0.7085 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.009763, allocations: 4 kB / 0.7085 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.009764, allocations: 0 / 0.7085 GB, free: 14.96 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.009771, allocations: 0 / 0.7085 GB, free: 14.96 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.000843/0.01061, allocations: 0.6037 MB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01065, allocations: 11.89 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.01072, allocations: 36.7 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.01097, allocations: 224.7 kB / 0.7093 GB, free: 14.02 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.01099, allocations: 12.88 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.01103, allocations: 32.31 kB / 0.7094 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.0114, allocations: 306.2 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.01142, allocations: 4 kB / 0.7097 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.01144, allocations: 8 kB / 0.7097 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01144, allocations: 8 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.01174, allocations: 248.2 kB / 0.7099 GB, free: 13.37 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.01253, allocations: 0.6504 MB / 0.7105 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.01295, allocations: 266 kB / 0.7108 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.01312, allocations: 164.4 kB / 0.711 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.01313, allocations: 0 / 0.711 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.01347, allocations: 379.3 kB / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.01347, allocations: 0 / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.00136/0.01483, allocations: 1.131 MB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.01492, allocations: 221.6 kB / 0.7126 GB, free: 10.31 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.01512, allocations: 257.9 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.01514, allocations: 33.7 kB / 0.7129 GB, free: 10.02 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.01523, allocations: 152.9 kB / 0.7131 GB, free: 9.859 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.01531, allocations: 119 kB / 0.7132 GB, free: 9.742 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.01539, allocations: 70.2 kB / 0.7132 GB, free: 9.668 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.0155, allocations: 346.7 kB / 0.7136 GB, free: 9.32 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.01573, allocations: 231.8 kB / 0.7138 GB, free: 9.074 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.01599, allocations: 326.9 kB / 0.7141 GB, free: 8.688 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.01642, allocations: 458.1 kB / 0.7145 GB, free: 8.172 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01642, allocations: 0 / 0.7145 GB, free: 8.172 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006233/0.01705, allocations: 0.5809 MB / 0.7151 GB, free: 7.547 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.01712, allocations: 93.09 kB / 0.7152 GB, free: 7.438 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.01713, allocations: 4 kB / 0.7152 GB, free: 7.434 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.01716, allocations: 7.984 kB / 0.7152 GB, free: 7.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.01737, allocations: 79.89 kB / 0.7153 GB, free: 7.348 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.01738, allocations: 7.984 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.01751, allocations: 19.98 kB / 0.7153 GB, free: 7.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.01754, allocations: 24.14 kB / 0.7153 GB, free: 7.297 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.0003226/0.01786, allocations: 232.2 kB / 0.7156 GB, free: 7.051 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.0179, allocations: 31.81 kB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.01796, allocations: 34.95 kB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.01797, allocations: 4 kB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.01798, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01798, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.01886, allocations: 0.8212 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01886, allocations: 0 / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.01904, allocations: 59.91 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01904, allocations: 3.938 kB / 0.7165 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.01906, allocations: 19.98 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01907, allocations: 0 / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01907, allocations: 0 / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.01977, allocations: 0.764 MB / 0.7173 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.01986, allocations: 59.77 kB / 0.7173 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.0199, allocations: 12 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.02001, allocations: 19.98 kB / 0.7173 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.02009, allocations: 31.94 kB / 0.7174 GB, free: 5.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.0201, allocations: 11.94 kB / 0.7174 GB, free: 5.07 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001223/0.02022, allocations: 185.2 kB / 0.7176 GB, free: 4.891 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.2e-07/0.02022, allocations: 3.938 kB / 0.7176 GB, free: 4.887 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002432/0.02047, allocations: 84 kB / 0.7176 GB, free: 4.805 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.0001363/0.0206, allocations: 133.7 kB / 0.7178 GB, free: 4.672 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.02112, allocations: 0.5881 MB / 0.7183 GB, free: 4.016 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.02112, allocations: 0 / 0.7183 GB, free: 4.016 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.02134, allocations: 314.8 kB / 0.7186 GB, free: 3.672 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.0217, allocations: 92.38 kB / 0.7187 GB, free: 3.578 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.0228, allocations: 0.8868 MB / 0.7196 GB, free: 2.648 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.02291, allocations: 168.2 kB / 0.7198 GB, free: 2.461 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.02298, allocations: 40.5 kB / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of SimCode: time 8.91e-07/0.02298, allocations: 0 / 0.7198 GB, free: 2.422 MB / 426.8 MB Notification: Performance of Templates: time 0.1864/0.2094, allocations: 4.364 MB / 0.7241 GB, free: 36.2 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.640181045979261]