Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_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.001826/0.001826, allocations: 105.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.001991/0.001991, allocations: 220.1 kB / 22.25 MB, free: 3.57 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.892/1.892, 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.483/1.483, allocations: 316.7 MB / 0.6144 GB, free: 93.51 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_AlvarezJimenez2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_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.00397/0.00397, allocations: 77.41 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.2001, allocations: 73.99 MB / 0.8473 GB, free: 5.09 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference): time 0.004546/0.2047, allocations: 2.301 MB / 0.8495 GB, free: 2.789 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.5181, allocations: 6.526 MB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.5184, allocations: 4.25 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.5186, allocations: 25.47 kB / 0.8559 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.5189, allocations: 86.33 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.5191, allocations: 52.23 kB / 0.856 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.5194, allocations: 258 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.5196, allocations: 36.52 kB / 0.8563 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.5197, allocations: 102 kB / 0.8564 GB, free: 21.6 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.52, allocations: 96.53 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.52, allocations: 16.41 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.098e-05/0.5201, allocations: 20.31 kB / 0.8565 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.5201, allocations: 39.14 kB / 0.8566 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.5203, allocations: 93.77 kB / 0.8567 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.5205, allocations: 191.3 kB / 0.8568 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5206, allocations: 5.625 kB / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5206, allocations: 0 / 0.8569 GB, free: 21.51 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.5206, allocations: 3.938 kB / 0.8569 GB, free: 21.5 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.001003/0.5216, allocations: 496.1 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5216, allocations: 13.8 kB / 0.8573 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.5217, allocations: 21.52 kB / 0.8574 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.522, allocations: 185.4 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.522, allocations: 10.83 kB / 0.8575 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.522, allocations: 22.08 kB / 0.8576 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.5225, allocations: 187.9 kB / 0.8577 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5225, allocations: 1.812 kB / 0.8578 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.5225, allocations: 9.656 kB / 0.8578 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.5225, allocations: 3.031 kB / 0.8578 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.523, allocations: 147.4 kB / 0.8579 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008981/0.5239, allocations: 481.5 kB / 0.8584 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.5245, allocations: 172.5 kB / 0.8585 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.5247, allocations: 96.44 kB / 0.8586 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.5247, allocations: 7 kB / 0.8586 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.5251, allocations: 222.9 kB / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.5251, allocations: 0 / 0.8588 GB, free: 20.28 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001733/0.5268, allocations: 0.7033 MB / 0.8595 GB, free: 19.92 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5269, allocations: 137.4 kB / 0.8597 GB, free: 19.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.5271, allocations: 215.5 kB / 0.8599 GB, free: 19.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5271, allocations: 32.05 kB / 0.8599 GB, free: 19.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.5272, allocations: 132.6 kB / 0.86 GB, free: 19.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.5273, allocations: 77.91 kB / 0.8601 GB, free: 19.49 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.99e-05/0.5274, allocations: 54.42 kB / 0.8601 GB, free: 19.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.5274, allocations: 338.9 kB / 0.8605 GB, free: 19.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.5277, allocations: 146.4 kB / 0.8606 GB, free: 19.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.528, allocations: 223.5 kB / 0.8608 GB, free: 18.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.5285, allocations: 283.2 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5285, allocations: 0.5938 kB / 0.8611 GB, free: 18.75 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007274/0.5293, allocations: 389 kB / 0.8615 GB, free: 18.57 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.5293, allocations: 58.2 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5293, allocations: 7.844 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5293, allocations: 3.5 kB / 0.8615 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.5296, allocations: 54.66 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5296, allocations: 4.625 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.5299, allocations: 20.2 kB / 0.8616 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.5299, allocations: 13.48 kB / 0.8616 GB, free: 18.5 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.000173/0.5301, allocations: 172.7 kB / 0.8618 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.5301, allocations: 24.75 kB / 0.8618 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.5302, allocations: 28.02 kB / 0.8618 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5302, allocations: 7.156 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5302, allocations: 0.7812 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.5302, allocations: 3.609 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.5311, allocations: 0.5377 MB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5311, allocations: 3.219 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.5314, allocations: 36.3 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5314, allocations: 0 / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.5314, allocations: 6.719 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5314, allocations: 6.031 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5314, allocations: 2.812 kB / 0.8624 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.5323, allocations: 0.4901 MB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.5323, allocations: 16.98 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.5324, allocations: 10.42 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.5326, allocations: 18.75 kB / 0.8629 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.5327, allocations: 19.5 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.5327, allocations: 17.2 kB / 0.863 GB, free: 17.75 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001549/0.5329, allocations: 162.7 kB / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5329, allocations: 0 / 0.8631 GB, free: 17.66 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004966/0.5334, allocations: 57.44 kB / 0.8632 GB, free: 17.66 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.0001079/0.5335, allocations: 117 kB / 0.8633 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006567/0.5341, allocations: 385.4 kB / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5341, allocations: 0 / 0.8637 GB, free: 17.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5344, allocations: 171 kB / 0.8638 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/0.5381, allocations: 65.78 kB / 0.8639 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.5396, allocations: 0.6785 MB / 0.8646 GB, free: 16.93 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.5397, allocations: 127.8 kB / 0.8647 GB, free: 16.85 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.5398, allocations: 24 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.5399, allocations: 20.58 kB / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of SimCode: time 4e-07/0.5399, allocations: 0 / 0.8647 GB, free: 16.84 MB / 490.8 MB Notification: Performance of Templates: time 0.01915/0.5591, allocations: 3.636 MB / 0.8683 GB, free: 16.52 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_AlvarezJimenez2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.725243979133666]