Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.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.001891/0.001891, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002015/0.002015, allocations: 218.4 kB / 22.25 MB, free: 3.562 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.893/1.893, allocations: 230.6 MB / 256 MB, free: 9.641 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.513/1.513, allocations: 316.7 MB / 0.6144 GB, free: 92.99 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.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine") [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.004114/0.004114, allocations: 77.95 kB / 0.775 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1649, allocations: 74 MB / 0.8473 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine): time 0.003952/0.1688, allocations: 2.305 MB / 0.8495 GB, free: 2.602 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3831/0.552, allocations: 6.528 MB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.5522, allocations: 1.719 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.5524, allocations: 25.36 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.5527, allocations: 84.88 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.553, allocations: 51.22 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.5533, allocations: 256.2 kB / 0.8563 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.5535, allocations: 35.88 kB / 0.8563 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.5536, allocations: 102.5 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.5539, allocations: 98.92 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.5539, allocations: 16.38 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.535e-05/0.5539, allocations: 19.94 kB / 0.8566 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.554, allocations: 32.92 kB / 0.8566 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.5541, allocations: 96.84 kB / 0.8567 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.5544, allocations: 199.8 kB / 0.8569 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5544, allocations: 0.7188 kB / 0.8569 GB, free: 21.91 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5544, allocations: 0 / 0.8569 GB, free: 21.91 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5544, allocations: 1.906 kB / 0.8569 GB, free: 21.91 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.0009547/0.5554, allocations: 497.4 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5554, allocations: 8.625 kB / 0.8574 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.5555, allocations: 24.64 kB / 0.8574 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.5558, allocations: 182.2 kB / 0.8575 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.5558, allocations: 18.36 kB / 0.8576 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.5559, allocations: 20.08 kB / 0.8576 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.5563, allocations: 190.2 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5563, allocations: 0.9688 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5563, allocations: 11.72 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.5563, allocations: 2.562 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.5567, allocations: 145 kB / 0.8579 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.5574, allocations: 478.2 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.5579, allocations: 177.3 kB / 0.8585 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5581, allocations: 99.81 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5582, allocations: 3.062 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.5585, allocations: 226 kB / 0.8589 GB, free: 20.69 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.5585, allocations: 0.5 kB / 0.8589 GB, free: 20.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001526/0.5601, allocations: 0.7044 MB / 0.8595 GB, free: 20.32 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.5601, allocations: 140 kB / 0.8597 GB, free: 20.17 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5604, allocations: 214.7 kB / 0.8599 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5604, allocations: 32.92 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.5605, allocations: 137.2 kB / 0.86 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.5605, allocations: 69.53 kB / 0.8601 GB, free: 19.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.5606, allocations: 51.34 kB / 0.8602 GB, free: 19.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.216e-05/0.5607, allocations: 337.2 kB / 0.8605 GB, free: 19.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.5609, allocations: 149.6 kB / 0.8606 GB, free: 19.48 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.5612, allocations: 220.6 kB / 0.8608 GB, free: 19.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.5615, allocations: 283.8 kB / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5615, allocations: 3.156 kB / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005742/0.5621, allocations: 385.3 kB / 0.8615 GB, free: 18.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.5622, allocations: 64.56 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.5622, allocations: 6 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.5622, allocations: 5.844 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.5624, allocations: 54.42 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5624, allocations: 6.531 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.5626, allocations: 14.03 kB / 0.8616 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.5626, allocations: 14.78 kB / 0.8616 GB, free: 18.9 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.0001989/0.5628, allocations: 174.4 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.5628, allocations: 21.92 kB / 0.8618 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.998e-05/0.5629, allocations: 30.64 kB / 0.8619 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5629, allocations: 3.594 kB / 0.8619 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5629, allocations: 1.844 kB / 0.8619 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5629, allocations: 0.625 kB / 0.8619 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.5636, allocations: 0.5413 MB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.5636, allocations: 3.062 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.5638, allocations: 35.75 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5638, allocations: 4.219 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5638, allocations: 8.109 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.5638, allocations: 4.688 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.5638, allocations: 3.938 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.5645, allocations: 0.4894 MB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.5646, allocations: 19.39 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.5646, allocations: 6.562 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.5648, allocations: 17.12 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5649, allocations: 26.34 kB / 0.863 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.5649, allocations: 7 kB / 0.863 GB, free: 18.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001608/0.5651, allocations: 159.4 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5651, allocations: 0 / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003051/0.5654, allocations: 56 kB / 0.8632 GB, free: 18.07 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 0.0001462/0.5655, allocations: 111.4 kB / 0.8633 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.5661, allocations: 379.2 kB / 0.8637 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5661, allocations: 0 / 0.8637 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.5664, allocations: 177.7 kB / 0.8638 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.5669, allocations: 78.94 kB / 0.8639 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.5682, allocations: 0.6809 MB / 0.8646 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.5684, allocations: 126.8 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.5685, allocations: 27 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.5686, allocations: 20.91 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.5686, allocations: 1.062 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.01152/0.5801, allocations: 3.632 MB / 0.8683 GB, free: 16.92 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CA07_Dobutamine.Dobutamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.91233923798427]