Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.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.002225/0.002225, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002599/0.002599, allocations: 214.4 kB / 22.25 MB, free: 3.578 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.687/1.687, allocations: 230.6 MB / 256 MB, free: 9.59 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.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine") [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.004086/0.004086, allocations: 81.95 kB / 0.775 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1459, allocations: 73.99 MB / 0.8473 GB, free: 4.988 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine): time 0.00426/0.1502, allocations: 2.316 MB / 0.8495 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4028/0.553, allocations: 6.525 MB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.5533, allocations: 6.062 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.5534, allocations: 20.81 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.5537, allocations: 81.5 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.5539, allocations: 58.94 kB / 0.8561 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.5542, allocations: 255.3 kB / 0.8563 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.5543, allocations: 35.16 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.5545, allocations: 99.94 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.5547, allocations: 97.09 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.5547, allocations: 16.78 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.5547, allocations: 16.72 kB / 0.8566 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.5548, allocations: 38.52 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.5549, allocations: 97.44 kB / 0.8567 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.5551, allocations: 195.7 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5552, allocations: 1.062 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5552, allocations: 1.656 kB / 0.8569 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.5552, allocations: 0 / 0.8569 GB, free: 21.89 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.0008512/0.556, allocations: 0.4906 MB / 0.8574 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5561, allocations: 9.781 kB / 0.8574 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.5561, allocations: 25.39 kB / 0.8574 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.5564, allocations: 185.3 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5564, allocations: 7.359 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.5564, allocations: 20.73 kB / 0.8576 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.5568, allocations: 192.1 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.5568, allocations: 3 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.5568, allocations: 4.219 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5568, allocations: 4.969 kB / 0.8578 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.5572, allocations: 147.5 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.5579, allocations: 485.8 kB / 0.8584 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.5584, allocations: 170.4 kB / 0.8586 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.5585, allocations: 93.95 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5585, allocations: 4.688 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.5588, allocations: 232.4 kB / 0.8589 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.5588, allocations: 0.5625 kB / 0.8589 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00135/0.5602, allocations: 0.7025 MB / 0.8596 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5602, allocations: 138.3 kB / 0.8597 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5604, allocations: 216.4 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.5605, allocations: 33.17 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.5605, allocations: 134.5 kB / 0.8601 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.5606, allocations: 71.28 kB / 0.8601 GB, free: 19.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.5606, allocations: 52.66 kB / 0.8602 GB, free: 19.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.5607, allocations: 342.7 kB / 0.8605 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.5609, allocations: 140.5 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.5611, allocations: 222.8 kB / 0.8608 GB, free: 19.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.5615, allocations: 288.3 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5615, allocations: 1.156 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005325/0.562, allocations: 388 kB / 0.8615 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.5621, allocations: 60.44 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5621, allocations: 5.781 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5621, allocations: 3.25 kB / 0.8616 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.5623, allocations: 52.41 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5623, allocations: 4.656 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.5625, allocations: 21.88 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.5625, allocations: 14.53 kB / 0.8616 GB, free: 18.88 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.0001539/0.5626, allocations: 174.5 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.5627, allocations: 20.39 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.5627, allocations: 27.61 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5627, allocations: 2.375 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5627, allocations: 3.469 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5627, allocations: 4.656 kB / 0.8619 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.5634, allocations: 0.539 MB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5634, allocations: 6.969 kB / 0.8624 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.5636, allocations: 42 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5636, allocations: 3.75 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.5636, allocations: 6.219 kB / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5636, allocations: 7.875 kB / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5636, allocations: 0 / 0.8625 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.5643, allocations: 499.4 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.5643, allocations: 18.69 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.5643, allocations: 8.531 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5645, allocations: 19.34 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.5646, allocations: 18.52 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5646, allocations: 10.48 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001134/0.5647, allocations: 154.6 kB / 0.8632 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5647, allocations: 2.688 kB / 0.8632 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002973/0.565, allocations: 56.66 kB / 0.8632 GB, free: 18.05 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.0001101/0.5651, allocations: 120.4 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005214/0.5656, allocations: 381.6 kB / 0.8637 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5656, allocations: 1.812 kB / 0.8637 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.5659, allocations: 171.9 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.5663, allocations: 67.7 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5675, allocations: 0.6732 MB / 0.8646 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.5677, allocations: 126.6 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.978e-05/0.5678, allocations: 30.66 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.5678, allocations: 23.88 kB / 0.8648 GB, free: 17.22 MB / 490.8 MB Notification: Performance of SimCode: time 8.11e-07/0.5678, allocations: 0 / 0.8648 GB, free: 17.22 MB / 490.8 MB Notification: Performance of Templates: time 0.00839/0.5762, allocations: 3.629 MB / 0.8683 GB, free: 16.89 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.841156300157309]