Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.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.001002/0.001002, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001543/0.001543, allocations: 215.5 kB / 23 MB, free: 2.961 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 0.9634/0.9634, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.708/0.708, allocations: 312.3 MB / 0.6108 GB, free: 97.64 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.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide") [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.001427/0.001427, allocations: 83.16 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 73.99 MB / 0.8422 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.003186/0.1095, allocations: 2.719 MB / 0.8448 GB, free: 7.547 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005678/0.1152, allocations: 6.605 MB / 0.8513 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1153, allocations: 8.562 kB / 0.8513 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.1155, allocations: 35.62 kB / 0.8513 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1157, allocations: 124.2 kB / 0.8514 GB, free: 0.7773 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1159, allocations: 69.05 kB / 0.8515 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.1163, allocations: 378.1 kB / 0.8519 GB, free: 348 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1164, allocations: 52.58 kB / 0.8519 GB, free: 300 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1166, allocations: 144.1 kB / 0.8521 GB, free: 156 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.1168, allocations: 139.8 kB / 0.8522 GB, free: 16 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/0.1168, allocations: 24.05 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.179e-05/0.1169, allocations: 28.75 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.1169, allocations: 59.67 kB / 0.8523 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.117, allocations: 136 kB / 0.8524 GB, free: 15.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1173, allocations: 283.5 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1173, allocations: 3.938 kB / 0.8527 GB, free: 15.49 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1173, allocations: 0.5938 kB / 0.8527 GB, free: 15.49 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1173, allocations: 0 / 0.8527 GB, free: 15.49 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001045/0.1184, allocations: 0.6021 MB / 0.8533 GB, free: 14.84 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1184, allocations: 12.58 kB / 0.8533 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.1185, allocations: 32.75 kB / 0.8533 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1187, allocations: 213.6 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1187, allocations: 17.38 kB / 0.8536 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.1188, allocations: 23.94 kB / 0.8536 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.1191, allocations: 288.5 kB / 0.8538 GB, free: 14.22 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1191, allocations: 4.547 kB / 0.8539 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1192, allocations: 12.59 kB / 0.8539 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1192, allocations: 11.92 kB / 0.8539 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1195, allocations: 229.5 kB / 0.8541 GB, free: 13.96 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.1204, allocations: 0.6777 MB / 0.8548 GB, free: 13.24 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.1208, allocations: 241.1 kB / 0.855 GB, free: 12.98 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1209, allocations: 145 kB / 0.8551 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.121, allocations: 4.562 kB / 0.8551 GB, free: 12.82 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.1213, allocations: 357.5 kB / 0.8555 GB, free: 12.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.472e-06/0.1213, allocations: 0 / 0.8555 GB, free: 12.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.244/0.3653, allocations: 1.078 MB / 0.8565 GB, free: 21.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3653, allocations: 220.6 kB / 0.8567 GB, free: 21.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3655, allocations: 250 kB / 0.857 GB, free: 20.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3655, allocations: 36.89 kB / 0.857 GB, free: 20.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.3656, allocations: 156.5 kB / 0.8572 GB, free: 20.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.3657, allocations: 115.5 kB / 0.8573 GB, free: 20.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.3657, allocations: 77.55 kB / 0.8573 GB, free: 20.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.3658, allocations: 343.4 kB / 0.8577 GB, free: 20.41 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.366, allocations: 211.8 kB / 0.8579 GB, free: 20.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.3661, allocations: 310.4 kB / 0.8582 GB, free: 20.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.3665, allocations: 439.7 kB / 0.8586 GB, free: 19.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3665, allocations: 3.219 kB / 0.8586 GB, free: 19.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004697/0.3669, allocations: 0.5434 MB / 0.8591 GB, free: 19.58 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.367, allocations: 94.73 kB / 0.8592 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.367, allocations: 4.125 kB / 0.8592 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.367, allocations: 4.844 kB / 0.8592 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3672, allocations: 74.94 kB / 0.8593 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3672, allocations: 7.938 kB / 0.8593 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.3673, allocations: 25.98 kB / 0.8593 GB, free: 19.48 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3673, allocations: 17.19 kB / 0.8593 GB, free: 19.48 MB / 490.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001884/0.3675, allocations: 227.1 kB / 0.8596 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3676, allocations: 32.19 kB / 0.8596 GB, free: 19.28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.3676, allocations: 37.08 kB / 0.8596 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3676, allocations: 1.906 kB / 0.8596 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3676, allocations: 6.797 kB / 0.8596 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3676, allocations: 0 / 0.8596 GB, free: 19.27 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.3683, allocations: 0.7591 MB / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3683, allocations: 0 / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.3684, allocations: 60.52 kB / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3684, allocations: 0 / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3685, allocations: 10.16 kB / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3685, allocations: 4.219 kB / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3685, allocations: 3.938 kB / 0.8604 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.369, allocations: 0.73 MB / 0.8612 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.3691, allocations: 26.67 kB / 0.8612 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3691, allocations: 11.59 kB / 0.8612 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3692, allocations: 18.67 kB / 0.8612 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.3693, allocations: 34.72 kB / 0.8612 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3693, allocations: 8.656 kB / 0.8613 GB, free: 18.55 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3694, allocations: 181 kB / 0.8614 GB, free: 18.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0.5938 kB / 0.8614 GB, free: 18.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002433/0.3697, allocations: 86.56 kB / 0.8615 GB, free: 18.46 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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 9.909e-05/0.3698, allocations: 117.5 kB / 0.8616 GB, free: 18.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.3702, allocations: 0.5641 MB / 0.8622 GB, free: 18.03 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3702, allocations: 1.344 kB / 0.8622 GB, free: 18.03 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.3704, allocations: 306.6 kB / 0.8625 GB, free: 17.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3708, allocations: 84.89 kB / 0.8625 GB, free: 17.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.372, allocations: 0.9713 MB / 0.8635 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3721, allocations: 158.7 kB / 0.8636 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.3722, allocations: 31.95 kB / 0.8637 GB, free: 17.26 MB / 490.8 MB Notification: Performance of SimCode: time 8.71e-07/0.3722, allocations: 0 / 0.8637 GB, free: 17.26 MB / 490.8 MB Notification: Performance of Templates: time 0.006275/0.3784, allocations: 4.005 MB / 0.8676 GB, free: 16.92 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.266022030264139]