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.002002/0.002002, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.00212/0.00212, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.79/1.79, allocations: 230.6 MB / 256 MB, free: 9.578 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.473/1.473, allocations: 316.8 MB / 0.6144 GB, free: 93.05 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: 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.003711/0.003711, allocations: 81.7 kB / 0.775 GB, free: 14.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.196, allocations: 73.99 MB / 0.8473 GB, free: 4.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AX06_Tapentadol.Tapentadol): time 0.0058/0.2018, allocations: 3.023 MB / 0.8502 GB, free: 1.797 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3877/0.5895, allocations: 6.636 MB / 0.8567 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.5898, allocations: 2.938 kB / 0.8567 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.59, allocations: 40.47 kB / 0.8568 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.5903, allocations: 128.8 kB / 0.8569 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.5906, allocations: 83.78 kB / 0.857 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.591, allocations: 410.5 kB / 0.8574 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.5912, allocations: 62.42 kB / 0.8574 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.5914, allocations: 156.8 kB / 0.8576 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.5916, allocations: 142.9 kB / 0.8577 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.5917, allocations: 30.56 kB / 0.8577 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.5917, allocations: 32.5 kB / 0.8578 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.5918, allocations: 68.7 kB / 0.8578 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.5919, allocations: 149.2 kB / 0.858 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.5923, allocations: 357 kB / 0.8583 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5923, allocations: 3.281 kB / 0.8583 GB, free: 21.73 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5923, allocations: 1.406 kB / 0.8583 GB, free: 21.73 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.5923, allocations: 4.344 kB / 0.8583 GB, free: 21.73 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009428/0.5933, allocations: 0.6066 MB / 0.8589 GB, free: 21.27 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5933, allocations: 11.3 kB / 0.8589 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.5934, allocations: 38.58 kB / 0.859 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.5937, allocations: 223.3 kB / 0.8592 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5937, allocations: 19.97 kB / 0.8592 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.5937, allocations: 29.17 kB / 0.8592 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.5942, allocations: 300.1 kB / 0.8595 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.5942, allocations: 5.625 kB / 0.8595 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.5943, allocations: 14.3 kB / 0.8595 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.5943, allocations: 7.406 kB / 0.8595 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.5947, allocations: 242.6 kB / 0.8598 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.5957, allocations: 0.6537 MB / 0.8604 GB, free: 20.56 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.5962, allocations: 261.6 kB / 0.8606 GB, free: 20.47 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.5965, allocations: 158.7 kB / 0.8608 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5965, allocations: 4.281 kB / 0.8608 GB, free: 20.4 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.5969, allocations: 378.8 kB / 0.8612 GB, free: 20.16 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.5969, allocations: 0 / 0.8612 GB, free: 20.16 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001847/0.5988, allocations: 1.123 MB / 0.8623 GB, free: 19.61 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.5988, allocations: 219.8 kB / 0.8625 GB, free: 19.36 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.5991, allocations: 250.7 kB / 0.8627 GB, free: 19.26 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.5991, allocations: 43.66 kB / 0.8628 GB, free: 19.23 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.5992, allocations: 155.4 kB / 0.8629 GB, free: 19.12 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.5992, allocations: 118.2 kB / 0.863 GB, free: 19.05 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5993, allocations: 73.38 kB / 0.8631 GB, free: 19.03 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.149e-05/0.5994, allocations: 350.1 kB / 0.8634 GB, free: 18.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.5997, allocations: 218.6 kB / 0.8636 GB, free: 18.61 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.6001, allocations: 327.8 kB / 0.8639 GB, free: 18.38 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.6006, allocations: 453.5 kB / 0.8644 GB, free: 18.11 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6006, allocations: 9.906 kB / 0.8644 GB, free: 18.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008517/0.6015, allocations: 0.5757 MB / 0.8649 GB, free: 17.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.6015, allocations: 91.53 kB / 0.865 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6015, allocations: 4.016 kB / 0.865 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6016, allocations: 5.656 kB / 0.865 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.6019, allocations: 80.61 kB / 0.8651 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.6019, allocations: 5.656 kB / 0.8651 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.6021, allocations: 21.83 kB / 0.8651 GB, free: 17.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.6022, allocations: 21.45 kB / 0.8652 GB, free: 17.74 MB / 490.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.0002379/0.6024, allocations: 240.1 kB / 0.8654 GB, free: 17.55 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.6024, allocations: 32.7 kB / 0.8654 GB, free: 17.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.6025, allocations: 34.25 kB / 0.8655 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.6025, allocations: 6 kB / 0.8655 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6025, allocations: 0 / 0.8655 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6025, allocations: 1.406 kB / 0.8655 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.6037, allocations: 0.8109 MB / 0.8663 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6037, allocations: 1.469 kB / 0.8663 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.604, allocations: 56.47 kB / 0.8663 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.604, allocations: 5.719 kB / 0.8663 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.604, allocations: 14.16 kB / 0.8663 GB, free: 17.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.604, allocations: 4.781 kB / 0.8663 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.604, allocations: 0 / 0.8663 GB, free: 17.15 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.605, allocations: 0.7714 MB / 0.8671 GB, free: 16.79 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6051, allocations: 56.69 kB / 0.8671 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.6051, allocations: 11.62 kB / 0.8671 GB, free: 16.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.6053, allocations: 21.34 kB / 0.8672 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.6054, allocations: 32.28 kB / 0.8672 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.6055, allocations: 14.66 kB / 0.8672 GB, free: 16.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001578/0.6056, allocations: 183 kB / 0.8674 GB, free: 16.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6056, allocations: 1.656 kB / 0.8674 GB, free: 16.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003652/0.606, allocations: 84.41 kB / 0.8675 GB, free: 16.69 MB / 490.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.0001265/0.6061, allocations: 134.5 kB / 0.8676 GB, free: 16.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007247/0.6068, allocations: 0.5923 MB / 0.8682 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6068, allocations: 0 / 0.8682 GB, free: 16.23 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.6072, allocations: 315.8 kB / 0.8685 GB, free: 16.04 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.6077, allocations: 94.73 kB / 0.8686 GB, free: 16.04 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6094, allocations: 1.045 MB / 0.8696 GB, free: 15.48 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.6095, allocations: 161.7 kB / 0.8697 GB, free: 15.4 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.6096, allocations: 42.09 kB / 0.8698 GB, free: 15.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.6097, allocations: 25.31 kB / 0.8698 GB, free: 15.39 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/0.6097, allocations: 0 / 0.8698 GB, free: 15.39 MB / 490.8 MB Notification: Performance of Templates: time 0.01115/0.6209, allocations: 5.279 MB / 0.875 GB, free: 14.86 MB / 490.8 MB " [Timeout remaining time 659] 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: 8.062647826038301]