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.00102/0.00102, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009829/0.0009829, allocations: 165.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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.8726/0.8726, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.6714/0.6714, allocations: 291.2 MB / 0.5382 GB, free: 51.33 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.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: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.567e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine): time 0.002222/0.002238, allocations: 2.314 MB / 0.6996 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004124/0.006362, allocations: 6.537 MB / 0.706 GB, free: 1.438 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.548e-05/0.006448, allocations: 4 kB / 0.706 GB, free: 1.434 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.006547, allocations: 31.7 kB / 0.7061 GB, free: 1.402 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.006713, allocations: 83.27 kB / 0.7061 GB, free: 1.32 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.006876, allocations: 55.81 kB / 0.7062 GB, free: 1.266 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.007074, allocations: 262.6 kB / 0.7064 GB, free: 1.008 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.007185, allocations: 36.56 kB / 0.7065 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.007303, allocations: 139.6 kB / 0.7066 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.007447, allocations: 87.78 kB / 0.7067 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.007471, allocations: 19.94 kB / 0.7067 GB, free: 0.7344 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.437e-05/0.007496, allocations: 16 kB / 0.7067 GB, free: 0.7188 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.007522, allocations: 43.77 kB / 0.7068 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.007585, allocations: 71.84 kB / 0.7068 GB, free: 0.6055 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.007751, allocations: 199.4 kB / 0.707 GB, free: 420 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.007752, allocations: 0 / 0.707 GB, free: 420 kB / 410.8 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007753, allocations: 0 / 0.707 GB, free: 420 kB / 410.8 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.007756, allocations: 4 kB / 0.707 GB, free: 416 kB / 410.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.0005976/0.008354, allocations: 0.4891 MB / 0.7075 GB, free: 15.87 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.008387, allocations: 12.03 kB / 0.7075 GB, free: 15.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.008435, allocations: 24.73 kB / 0.7076 GB, free: 15.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.008624, allocations: 178.4 kB / 0.7077 GB, free: 15.63 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.008639, allocations: 12.61 kB / 0.7077 GB, free: 15.62 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.008668, allocations: 12.38 kB / 0.7077 GB, free: 15.61 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.008949, allocations: 198.5 kB / 0.7079 GB, free: 15.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.008962, allocations: 3.953 kB / 0.7079 GB, free: 15.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.008978, allocations: 8 kB / 0.7079 GB, free: 15.39 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008984, allocations: 4 kB / 0.7079 GB, free: 15.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.009236, allocations: 150.2 kB / 0.7081 GB, free: 15.23 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.009868, allocations: 481.4 kB / 0.7086 GB, free: 14.73 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.01022, allocations: 176.2 kB / 0.7087 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.01035, allocations: 102.5 kB / 0.7088 GB, free: 14.43 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.01036, allocations: 0 / 0.7088 GB, free: 14.43 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.01061, allocations: 232.4 kB / 0.709 GB, free: 14.18 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.01061, allocations: 0 / 0.709 GB, free: 14.18 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001032/0.01165, allocations: 0.6926 MB / 0.7097 GB, free: 13.42 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.01171, allocations: 152.4 kB / 0.7099 GB, free: 13.24 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.01188, allocations: 212 kB / 0.7101 GB, free: 13.03 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.0119, allocations: 33.7 kB / 0.7101 GB, free: 12.99 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.01196, allocations: 128.5 kB / 0.7102 GB, free: 12.86 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.01201, allocations: 79.41 kB / 0.7103 GB, free: 12.78 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.01207, allocations: 45.7 kB / 0.7103 GB, free: 12.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.01216, allocations: 338.8 kB / 0.7107 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.01233, allocations: 149 kB / 0.7108 GB, free: 12.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.01252, allocations: 221.3 kB / 0.711 GB, free: 11.96 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.01283, allocations: 282.2 kB / 0.7113 GB, free: 11.65 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01283, allocations: 8.031 kB / 0.7113 GB, free: 11.64 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004409/0.01328, allocations: 387.9 kB / 0.7117 GB, free: 11.23 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.01331, allocations: 63.39 kB / 0.7117 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01331, allocations: 0 / 0.7117 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01333, allocations: 7.984 kB / 0.7117 GB, free: 11.15 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01348, allocations: 64.06 kB / 0.7118 GB, free: 11.09 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01348, allocations: 0 / 0.7118 GB, free: 11.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.0136, allocations: 19.98 kB / 0.7118 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01362, allocations: 8 kB / 0.7118 GB, free: 11.06 MB / 426.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.0001557/0.01377, allocations: 176.3 kB / 0.712 GB, free: 10.87 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.0138, allocations: 19.91 kB / 0.712 GB, free: 10.85 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.01383, allocations: 21.95 kB / 0.712 GB, free: 10.83 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01383, allocations: 4 kB / 0.712 GB, free: 10.82 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01384, allocations: 3.938 kB / 0.712 GB, free: 10.82 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01384, allocations: 0 / 0.712 GB, free: 10.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.01441, allocations: 0.5406 MB / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01441, allocations: 0 / 0.7126 GB, free: 10.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.01453, allocations: 31.97 kB / 0.7126 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01454, allocations: 0 / 0.7126 GB, free: 10.2 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01455, allocations: 8 kB / 0.7126 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01455, allocations: 0 / 0.7126 GB, free: 10.19 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01455, allocations: 12 kB / 0.7126 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005365/0.01509, allocations: 0.4988 MB / 0.7131 GB, free: 9.652 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.01512, allocations: 19.89 kB / 0.7131 GB, free: 9.633 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.01515, allocations: 8 kB / 0.7131 GB, free: 9.625 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01526, allocations: 11.98 kB / 0.7131 GB, free: 9.613 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.01532, allocations: 23.97 kB / 0.7132 GB, free: 9.59 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.01534, allocations: 7.984 kB / 0.7132 GB, free: 9.582 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01545, allocations: 163.3 kB / 0.7133 GB, free: 9.422 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01545, allocations: 4 kB / 0.7133 GB, free: 9.418 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002741/0.01572, allocations: 52 kB / 0.7134 GB, free: 9.367 MB / 426.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.883e-05/0.01581, allocations: 125.8 kB / 0.7135 GB, free: 9.238 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.01622, allocations: 380.6 kB / 0.7139 GB, free: 8.824 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01622, allocations: 448 / 0.7139 GB, free: 8.824 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.01639, allocations: 173 kB / 0.714 GB, free: 8.637 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.01677, allocations: 61.94 kB / 0.7141 GB, free: 8.578 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.01758, allocations: 0.6071 MB / 0.7147 GB, free: 7.934 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.01767, allocations: 125.6 kB / 0.7148 GB, free: 7.789 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.01773, allocations: 24.5 kB / 0.7148 GB, free: 7.766 MB / 426.8 MB Notification: Performance of SimCode: time 4.3e-07/0.01773, allocations: 0 / 0.7148 GB, free: 7.766 MB / 426.8 MB Notification: Performance of Templates: time 0.00353/0.02126, allocations: 2.939 MB / 0.7177 GB, free: 4.859 MB / 426.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.599798190407455]