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.001939/0.001939, 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.001961/0.001961, allocations: 219.6 kB / 22.25 MB, free: 3.559 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 9.605 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.556/1.556, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.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.003982/0.003982, allocations: 73.8 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1636, allocations: 74 MB / 0.8473 GB, free: 4.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide): time 0.004633/0.1682, allocations: 2.716 MB / 0.8499 GB, free: 2.129 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3307/0.4989, allocations: 6.605 MB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.4992, allocations: 1.344 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.4994, allocations: 43.75 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.4997, allocations: 115.5 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.4999, allocations: 74.31 kB / 0.8566 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.5005, allocations: 374.5 kB / 0.857 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.5007, allocations: 55.22 kB / 0.857 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.5009, allocations: 144.9 kB / 0.8572 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.5012, allocations: 140.2 kB / 0.8573 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.5013, allocations: 21.47 kB / 0.8573 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.5013, allocations: 26.62 kB / 0.8573 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.5014, allocations: 59.28 kB / 0.8574 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.5016, allocations: 133.5 kB / 0.8575 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.502, allocations: 290 kB / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.502, allocations: 2.188 kB / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.594e-06/0.502, allocations: 0 / 0.8578 GB, free: 21.71 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.502, allocations: 0 / 0.8578 GB, free: 21.71 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.001363/0.5034, allocations: 0.5985 MB / 0.8584 GB, free: 21.24 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.5035, allocations: 17.12 kB / 0.8584 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.5036, allocations: 35.12 kB / 0.8584 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.504, allocations: 211.2 kB / 0.8586 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.504, allocations: 13.84 kB / 0.8587 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.5041, allocations: 30.47 kB / 0.8587 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006443/0.5047, allocations: 282.5 kB / 0.859 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.5047, allocations: 5.891 kB / 0.859 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.5048, allocations: 10.72 kB / 0.859 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.5048, allocations: 3.594 kB / 0.859 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.5053, allocations: 234.8 kB / 0.8592 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.5071, allocations: 0.6794 MB / 0.8599 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.5078, allocations: 232.8 kB / 0.8601 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.5081, allocations: 154.5 kB / 0.8602 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.5081, allocations: 2.812 kB / 0.8602 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000535/0.5086, allocations: 365.8 kB / 0.8606 GB, free: 20.12 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.176e-06/0.5086, allocations: 0.5312 kB / 0.8606 GB, free: 20.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001975/0.5106, allocations: 1.073 MB / 0.8616 GB, free: 19.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.5107, allocations: 222.3 kB / 0.8618 GB, free: 19.33 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.5109, allocations: 243.7 kB / 0.8621 GB, free: 19.22 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.5109, allocations: 44.02 kB / 0.8621 GB, free: 19.19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5111, allocations: 158.7 kB / 0.8623 GB, free: 19.08 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.5111, allocations: 118.8 kB / 0.8624 GB, free: 19.01 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5112, allocations: 73.27 kB / 0.8625 GB, free: 18.99 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.5113, allocations: 338.7 kB / 0.8628 GB, free: 18.68 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.5116, allocations: 209.3 kB / 0.863 GB, free: 18.58 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.5119, allocations: 322.1 kB / 0.8633 GB, free: 18.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.5124, allocations: 427.7 kB / 0.8637 GB, free: 18.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5124, allocations: 1.594 kB / 0.8637 GB, free: 18.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008141/0.5132, allocations: 0.5505 MB / 0.8642 GB, free: 17.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.5133, allocations: 91.64 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5133, allocations: 3.406 kB / 0.8643 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5133, allocations: 11.45 kB / 0.8643 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5137, allocations: 76.66 kB / 0.8644 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.5137, allocations: 6.531 kB / 0.8644 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.5139, allocations: 26.44 kB / 0.8644 GB, free: 17.71 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.514, allocations: 18.73 kB / 0.8645 GB, free: 17.71 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.000253/0.5142, allocations: 220.9 kB / 0.8647 GB, free: 17.53 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.5143, allocations: 37.42 kB / 0.8647 GB, free: 17.51 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.575e-05/0.5143, allocations: 33.19 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5143, allocations: 2.469 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.5144, allocations: 4.516 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5144, allocations: 5.25 kB / 0.8647 GB, free: 17.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.5157, allocations: 0.7622 MB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5157, allocations: 1.156 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.516, allocations: 53.27 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.516, allocations: 1.906 kB / 0.8655 GB, free: 17.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.516, allocations: 16.42 kB / 0.8656 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.516, allocations: 1.125 kB / 0.8656 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5161, allocations: 3.938 kB / 0.8656 GB, free: 17.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5171, allocations: 0.7266 MB / 0.8663 GB, free: 16.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.5172, allocations: 27.19 kB / 0.8663 GB, free: 16.76 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.5173, allocations: 16.55 kB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.5175, allocations: 18.09 kB / 0.8663 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.5176, allocations: 29.2 kB / 0.8664 GB, free: 16.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.5176, allocations: 11.19 kB / 0.8664 GB, free: 16.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001868/0.5178, allocations: 180.1 kB / 0.8665 GB, free: 16.68 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5178, allocations: 0.6875 kB / 0.8665 GB, free: 16.68 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003938/0.5182, allocations: 86.28 kB / 0.8666 GB, free: 16.68 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 0.0001452/0.5183, allocations: 123.9 kB / 0.8667 GB, free: 16.58 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.5192, allocations: 0.5677 MB / 0.8673 GB, free: 16.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5192, allocations: 0.5938 kB / 0.8673 GB, free: 16.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.5195, allocations: 300.7 kB / 0.8676 GB, free: 16.03 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.5201, allocations: 92.84 kB / 0.8677 GB, free: 16.02 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.522, allocations: 0.9343 MB / 0.8686 GB, free: 15.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.5222, allocations: 159.6 kB / 0.8687 GB, free: 15.46 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.5224, allocations: 34.75 kB / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.5224, allocations: 27.67 kB / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of SimCode: time 1.122e-06/0.5224, allocations: 0 / 0.8688 GB, free: 15.45 MB / 490.8 MB Notification: Performance of Templates: time 0.01188/0.5343, allocations: 4.979 MB / 0.8737 GB, free: 14.95 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AC03_Piritramide.Piritramide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.136673842091113]