Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.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.0009821/0.0009821, 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.001074/0.001074, allocations: 224.4 kB / 23.01 MB, free: 2.938 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.916/0.916, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7114/0.7114, allocations: 312.3 MB / 0.6109 GB, free: 97.13 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_Mller2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference") [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.001354/0.001354, allocations: 73.95 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 73.99 MB / 0.8422 GB, free: 9.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference): time 0.003231/0.1251, allocations: 2.293 MB / 0.8444 GB, free: 7.531 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005751/0.1309, allocations: 6.54 MB / 0.8508 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.131, allocations: 0.5312 kB / 0.8508 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1312, allocations: 28.34 kB / 0.8508 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1314, allocations: 75.89 kB / 0.8509 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1316, allocations: 52.47 kB / 0.8509 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1319, allocations: 263.2 kB / 0.8512 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.132, allocations: 37.09 kB / 0.8512 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1321, allocations: 96.22 kB / 0.8513 GB, free: 460 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1323, allocations: 99.47 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.1324, allocations: 16.59 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.051e-05/0.1324, allocations: 16.59 kB / 0.8514 GB, free: 328 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.1324, allocations: 35.86 kB / 0.8515 GB, free: 292 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.1328, allocations: 100 kB / 0.8516 GB, free: 192 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.133, allocations: 195.8 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.133, allocations: 0.7812 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.133, allocations: 0 / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.133, allocations: 0 / 0.8517 GB, free: 15.99 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007249/0.1337, allocations: 0.4928 MB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1338, allocations: 8.531 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.1338, allocations: 24.8 kB / 0.8523 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.134, allocations: 183.6 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.134, allocations: 13.2 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1341, allocations: 19.89 kB / 0.8525 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1344, allocations: 191.7 kB / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1344, allocations: 0 / 0.8527 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1344, allocations: 8.625 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1344, allocations: 4 kB / 0.8527 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1346, allocations: 147.5 kB / 0.8528 GB, free: 14.83 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.1353, allocations: 482.6 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1356, allocations: 177.3 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1358, allocations: 95.14 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.1358, allocations: 0.5 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.136, allocations: 229.4 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.562e-06/0.136, allocations: 4.5 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00108/0.1371, allocations: 0.6987 MB / 0.8544 GB, free: 13.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.1372, allocations: 145.1 kB / 0.8546 GB, free: 12.85 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1374, allocations: 216 kB / 0.8548 GB, free: 12.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1374, allocations: 34.3 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.1375, allocations: 129 kB / 0.8549 GB, free: 12.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.1375, allocations: 75.42 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.1376, allocations: 54.19 kB / 0.8551 GB, free: 12.33 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.1377, allocations: 343.3 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3301/0.4678, allocations: 142.7 kB / 0.8555 GB, free: 30.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.468, allocations: 220.6 kB / 0.8557 GB, free: 30.04 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.4682, allocations: 276.7 kB / 0.856 GB, free: 29.88 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4682, allocations: 1.156 kB / 0.856 GB, free: 29.88 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003743/0.4686, allocations: 397.2 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4686, allocations: 65.86 kB / 0.8564 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4686, allocations: 5.25 kB / 0.8564 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4686, allocations: 1.438 kB / 0.8564 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4688, allocations: 50.77 kB / 0.8565 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4688, allocations: 4.75 kB / 0.8565 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.4689, allocations: 22.19 kB / 0.8565 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.4689, allocations: 9.234 kB / 0.8565 GB, free: 29.66 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001553/0.469, allocations: 175.9 kB / 0.8567 GB, free: 29.51 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.4691, allocations: 28.3 kB / 0.8567 GB, free: 29.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.4691, allocations: 25.33 kB / 0.8567 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4691, allocations: 3.188 kB / 0.8567 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4691, allocations: 6.344 kB / 0.8568 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4691, allocations: 0 / 0.8568 GB, free: 29.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.4696, allocations: 0.5336 MB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4696, allocations: 0 / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4697, allocations: 34.17 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4697, allocations: 3.469 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.4697, allocations: 11 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4697, allocations: 2.188 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4697, allocations: 1.594 kB / 0.8573 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.4701, allocations: 0.4903 MB / 0.8578 GB, free: 28.98 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.4701, allocations: 20.52 kB / 0.8578 GB, free: 28.98 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4702, allocations: 9.406 kB / 0.8578 GB, free: 28.98 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.4703, allocations: 15.55 kB / 0.8578 GB, free: 28.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.4703, allocations: 28.69 kB / 0.8579 GB, free: 28.98 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4703, allocations: 6.453 kB / 0.8579 GB, free: 28.98 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.217e-05/0.4704, allocations: 150.8 kB / 0.858 GB, free: 28.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4704, allocations: 1.719 kB / 0.858 GB, free: 28.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001949/0.4706, allocations: 64.45 kB / 0.8581 GB, free: 28.91 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 8.164e-05/0.4707, allocations: 111.2 kB / 0.8582 GB, free: 28.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.471, allocations: 376.6 kB / 0.8585 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.471, allocations: 0.5938 kB / 0.8586 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4711, allocations: 173 kB / 0.8587 GB, free: 28.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4715, allocations: 67.52 kB / 0.8588 GB, free: 28.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.4724, allocations: 0.7043 MB / 0.8595 GB, free: 28.18 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.4724, allocations: 124 kB / 0.8596 GB, free: 28.11 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.4725, allocations: 25.73 kB / 0.8596 GB, free: 28.1 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.4725, allocations: 0.5 kB / 0.8596 GB, free: 28.1 MB / 490.8 MB Notification: Performance of Templates: time 0.003935/0.4764, allocations: 2.939 MB / 0.8625 GB, free: 27.89 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide_Mller2006_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1205237824469805]