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_feeling_high.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.002005/0.002005, 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.00214/0.00214, allocations: 219.6 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.756/1.756, allocations: 230.6 MB / 256 MB, free: 9.598 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.52/1.52, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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_feeling_high,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high") [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.004315/0.004315, allocations: 73.47 kB / 0.7749 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.154, allocations: 73.99 MB / 0.8472 GB, free: 4.918 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high): time 0.00183/0.1559, allocations: 0.6221 MB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.1561, allocations: 8.656 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.1562, allocations: 0 / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1562, allocations: 0.5312 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.1562, allocations: 4.625 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.715e-05/0.1563, allocations: 7.984 kB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.1563, allocations: 12.56 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.1564, allocations: 7.984 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.339e-05/0.1564, allocations: 0.5312 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.1564, allocations: 16.44 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1564, allocations: 0 / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-06/0.1564, allocations: 0.5312 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.191e-05/0.1565, allocations: 0.5938 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1565, allocations: 11.94 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.147e-05/0.1565, allocations: 12.64 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1565, allocations: 0 / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1565, allocations: 0.5625 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1565, allocations: 0.625 kB / 0.8479 GB, free: 4.23 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.0003943/0.1569, allocations: 262.9 kB / 0.8481 GB, free: 3.941 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.157, allocations: 11.97 kB / 0.8482 GB, free: 3.93 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.157, allocations: 1.719 kB / 0.8482 GB, free: 3.93 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1571, allocations: 110.5 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1571, allocations: 1.031 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1571, allocations: 4.375 kB / 0.8483 GB, free: 3.793 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.1572, allocations: 38.84 kB / 0.8483 GB, free: 3.75 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1572, allocations: 0.8125 kB / 0.8483 GB, free: 3.75 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1573, allocations: 3.938 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1573, allocations: 0.625 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.1573, allocations: 7.984 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.1574, allocations: 105.9 kB / 0.8484 GB, free: 3.605 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1578, allocations: 59.22 kB / 0.8485 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.1578, allocations: 5.516 kB / 0.8485 GB, free: 3.531 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.1578, allocations: 4 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1579, allocations: 31.22 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1579, allocations: 0.5625 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001638/0.158, allocations: 53.56 kB / 0.8486 GB, free: 3.43 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1581, allocations: 56.09 kB / 0.8486 GB, free: 3.363 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.1582, allocations: 105.8 kB / 0.8487 GB, free: 3.25 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1582, allocations: 30.27 kB / 0.8487 GB, free: 3.215 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.1582, allocations: 84.77 kB / 0.8488 GB, free: 3.129 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1583, allocations: 7.906 kB / 0.8488 GB, free: 3.121 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.1583, allocations: 18.97 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1585, allocations: 314.8 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.1585, allocations: 8 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.1585, allocations: 5.719 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.1585, allocations: 16.86 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1585, allocations: 0 / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.548e-05/0.1586, allocations: 49.91 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1586, allocations: 4 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1586, allocations: 0.8125 kB / 0.8492 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1586, allocations: 3.938 kB / 0.8492 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.1587, allocations: 5.141 kB / 0.8492 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1587, allocations: 4 kB / 0.8492 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.1587, allocations: 3.984 kB / 0.8492 GB, free: 2.676 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1587, allocations: 4.484 kB / 0.8493 GB, free: 2.672 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 8.463e-05/0.1588, allocations: 106.3 kB / 0.8494 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.1588, allocations: 8.703 kB / 0.8494 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.1588, allocations: 8 kB / 0.8494 GB, free: 2.539 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1588, allocations: 4.906 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1588, allocations: 0 / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1588, allocations: 5.906 kB / 0.8494 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.159, allocations: 117.4 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.159, allocations: 4 kB / 0.8495 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.159, allocations: 4 kB / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.159, allocations: 0 / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.159, allocations: 0 / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.159, allocations: 0.7188 kB / 0.8495 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.159, allocations: 7.938 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1591, allocations: 74.91 kB / 0.8496 GB, free: 2.281 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.1591, allocations: 3.953 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1591, allocations: 4 kB / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.1592, allocations: 0 / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1592, allocations: 7.922 kB / 0.8496 GB, free: 2.266 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.1592, allocations: 1.219 kB / 0.8496 GB, free: 2.266 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.1592, allocations: 87.22 kB / 0.8497 GB, free: 2.18 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1592, allocations: 0 / 0.8497 GB, free: 2.18 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000168/0.1594, allocations: 5.094 kB / 0.8497 GB, free: 2.176 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.0001164/0.1595, allocations: 104.3 kB / 0.8498 GB, free: 2.066 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.399e-05/0.1596, allocations: 19.92 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1596, allocations: 0 / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.1596, allocations: 5.375 kB / 0.8498 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.1598, allocations: 4 kB / 0.8498 GB, free: 2.039 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.16, allocations: 108.9 kB / 0.8499 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6e-05/0.1601, allocations: 61.91 kB / 0.85 GB, free: 1.828 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.1601, allocations: 4 kB / 0.85 GB, free: 1.824 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.1601, allocations: 7.438 kB / 0.85 GB, free: 1.816 MB / 474.8 MB Notification: Performance of SimCode: time 3.8e-07/0.1601, allocations: 0 / 0.85 GB, free: 1.816 MB / 474.8 MB Notification: Performance of Templates: time 0.002685/0.1628, allocations: 410.1 kB / 0.8504 GB, free: 1.488 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_feeling_high.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.51326850685291]