Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.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.002413/0.002413, 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.002717/0.002717, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 9.582 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.413/1.413, allocations: 316.7 MB / 0.6144 GB, free: 93.26 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_LiemMoolenaar2011_PD_vas_internal_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception") [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.003912/0.003912, allocations: 73.8 kB / 0.7749 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1529, allocations: 73.99 MB / 0.8472 GB, free: 5.074 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception): time 0.001986/0.1549, allocations: 0.6174 MB / 0.8478 GB, free: 4.473 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.106e-05/0.1549, allocations: 16.53 kB / 0.8478 GB, free: 4.457 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.155, allocations: 0 / 0.8478 GB, free: 4.457 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.155, allocations: 0.5 kB / 0.8478 GB, free: 4.457 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.155, allocations: 8.531 kB / 0.8478 GB, free: 4.449 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.758e-05/0.1551, allocations: 0 / 0.8478 GB, free: 4.449 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.1551, allocations: 12.61 kB / 0.8478 GB, free: 4.438 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.357e-05/0.1552, allocations: 4 kB / 0.8478 GB, free: 4.434 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.1552, allocations: 4.531 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.1553, allocations: 12.55 kB / 0.8478 GB, free: 4.418 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1553, allocations: 0 / 0.8478 GB, free: 4.418 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.1553, allocations: 4.594 kB / 0.8479 GB, free: 4.414 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1553, allocations: 4.438 kB / 0.8479 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.1553, allocations: 7.938 kB / 0.8479 GB, free: 4.402 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.687e-05/0.1554, allocations: 16.53 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1554, allocations: 0.625 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1554, allocations: 0 / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1554, allocations: 0.75 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004406/0.1559, allocations: 258.3 kB / 0.8481 GB, free: 4.102 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1559, allocations: 8.781 kB / 0.8481 GB, free: 4.094 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.1559, allocations: 4.938 kB / 0.8481 GB, free: 4.09 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.156, allocations: 115 kB / 0.8483 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.1561, allocations: 1.125 kB / 0.8483 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1561, allocations: 4.375 kB / 0.8483 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.1562, allocations: 35.05 kB / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1562, allocations: 192 / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1562, allocations: 4.625 kB / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1562, allocations: 0 / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.1562, allocations: 12.73 kB / 0.8483 GB, free: 3.895 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.1564, allocations: 105.3 kB / 0.8484 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.1567, allocations: 55.16 kB / 0.8485 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.1568, allocations: 9.516 kB / 0.8485 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.1568, allocations: 0 / 0.8485 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1568, allocations: 31.28 kB / 0.8485 GB, free: 3.648 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1568, allocations: 0.75 kB / 0.8485 GB, free: 3.648 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000155/0.157, allocations: 57.62 kB / 0.8486 GB, free: 3.586 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.157, allocations: 55.97 kB / 0.8486 GB, free: 3.52 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.1571, allocations: 101.8 kB / 0.8487 GB, free: 3.41 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1571, allocations: 30.3 kB / 0.8487 GB, free: 3.375 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.1572, allocations: 80.14 kB / 0.8488 GB, free: 3.293 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1572, allocations: 20.55 kB / 0.8488 GB, free: 3.273 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1572, allocations: 10.34 kB / 0.8488 GB, free: 3.258 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1574, allocations: 314.8 kB / 0.8491 GB, free: 2.941 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.1574, allocations: 5.125 kB / 0.8491 GB, free: 2.938 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.1574, allocations: 7.938 kB / 0.8492 GB, free: 2.93 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.1575, allocations: 25.11 kB / 0.8492 GB, free: 2.902 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1575, allocations: 1.125 kB / 0.8492 GB, free: 2.902 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.622e-05/0.1576, allocations: 45.64 kB / 0.8492 GB, free: 2.852 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1576, allocations: 4 kB / 0.8492 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1576, allocations: 6 kB / 0.8492 GB, free: 2.844 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1576, allocations: 7.922 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.1577, allocations: 4 kB / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1577, allocations: 0 / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.1577, allocations: 0 / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.1577, allocations: 4.438 kB / 0.8492 GB, free: 2.828 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.053e-05/0.1578, allocations: 112.3 kB / 0.8494 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.1578, allocations: 7.953 kB / 0.8494 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.1578, allocations: 4 kB / 0.8494 GB, free: 2.695 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.1578, allocations: 7.938 kB / 0.8494 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1578, allocations: 256 / 0.8494 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1578, allocations: 0 / 0.8494 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.158, allocations: 113.2 kB / 0.8495 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.158, allocations: 2.625 kB / 0.8495 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.158, allocations: 4 kB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.158, allocations: 0 / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.158, allocations: 4 kB / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.158, allocations: 0 / 0.8495 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.158, allocations: 3.938 kB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1581, allocations: 73.06 kB / 0.8496 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.1581, allocations: 8.797 kB / 0.8496 GB, free: 2.438 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1581, allocations: 3.984 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.855e-05/0.1582, allocations: 0.9375 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1582, allocations: 3.938 kB / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.1582, allocations: 0 / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.1582, allocations: 87.88 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1582, allocations: 0.625 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001718/0.1584, allocations: 4 kB / 0.8497 GB, free: 2.34 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001346/0.1585, allocations: 108.5 kB / 0.8498 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.1586, allocations: 15.94 kB / 0.8498 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1586, allocations: 0.5938 kB / 0.8498 GB, free: 2.211 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.1587, allocations: 12.56 kB / 0.8498 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.1588, allocations: 3.984 kB / 0.8498 GB, free: 2.195 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1591, allocations: 109.6 kB / 0.8499 GB, free: 2.062 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.987e-05/0.1592, allocations: 63.97 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.1592, allocations: 0.625 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.1592, allocations: 8.094 kB / 0.85 GB, free: 1.973 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1592, allocations: 0 / 0.85 GB, free: 1.973 MB / 474.8 MB Notification: Performance of Templates: time 0.003122/0.1623, allocations: 403.6 kB / 0.8504 GB, free: 1.652 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.459123119013384]