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_finger_tapping.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.001969/0.001969, 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.002093/0.002093, 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.814/1.814, allocations: 230.6 MB / 256 MB, free: 9.578 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.445/1.445, allocations: 316.7 MB / 0.6144 GB, free: 93.35 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_finger_tapping,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping") [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.003975/0.003975, allocations: 81.3 kB / 0.7749 GB, free: 14.92 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2056, allocations: 73.98 MB / 0.8472 GB, free: 5.07 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping): time 0.002052/0.2077, allocations: 0.6165 MB / 0.8478 GB, free: 4.469 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.465e-05/0.2077, allocations: 16.55 kB / 0.8478 GB, free: 4.453 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.2078, allocations: 0.5938 kB / 0.8478 GB, free: 4.453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.2078, allocations: 0 / 0.8478 GB, free: 4.453 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.2078, allocations: 8.469 kB / 0.8478 GB, free: 4.445 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.446e-05/0.2079, allocations: 0.625 kB / 0.8478 GB, free: 4.445 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.208, allocations: 15.98 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.208, allocations: 0.5 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.244e-05/0.208, allocations: 8.609 kB / 0.8478 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.2081, allocations: 3.938 kB / 0.8478 GB, free: 4.418 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2081, allocations: 4.75 kB / 0.8478 GB, free: 4.414 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-06/0.2081, allocations: 0 / 0.8478 GB, free: 4.414 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.2081, allocations: 4.781 kB / 0.8478 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.2082, allocations: 11.92 kB / 0.8478 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.029e-05/0.2082, allocations: 8.516 kB / 0.8479 GB, free: 4.391 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2082, allocations: 4.672 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of FrontEnd: time 4.638e-06/0.2082, allocations: 4 kB / 0.8479 GB, free: 4.383 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2082, allocations: 0.7812 kB / 0.8479 GB, free: 4.383 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.000459/0.2087, allocations: 258.2 kB / 0.8481 GB, free: 4.098 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2087, allocations: 12.72 kB / 0.8481 GB, free: 4.086 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.2088, allocations: 1.688 kB / 0.8481 GB, free: 4.086 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2089, allocations: 114.4 kB / 0.8482 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2089, allocations: 5.062 kB / 0.8482 GB, free: 3.945 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.2089, allocations: 384 / 0.8482 GB, free: 3.945 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.209, allocations: 34.84 kB / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2091, allocations: 192 / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2091, allocations: 9.156 kB / 0.8483 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2091, allocations: 0 / 0.8483 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.2091, allocations: 8 kB / 0.8483 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.2093, allocations: 110.5 kB / 0.8484 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.2096, allocations: 46.56 kB / 0.8484 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.2097, allocations: 21.92 kB / 0.8485 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.2097, allocations: 0 / 0.8485 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.2097, allocations: 38.56 kB / 0.8485 GB, free: 3.629 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.2097, allocations: 1.25 kB / 0.8485 GB, free: 3.629 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000163/0.2099, allocations: 53.56 kB / 0.8485 GB, free: 3.57 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.2099, allocations: 51.41 kB / 0.8486 GB, free: 3.508 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.21, allocations: 101.9 kB / 0.8487 GB, free: 3.398 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2101, allocations: 28.23 kB / 0.8487 GB, free: 3.367 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.2101, allocations: 88.12 kB / 0.8488 GB, free: 3.277 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.2101, allocations: 11.91 kB / 0.8488 GB, free: 3.266 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2102, allocations: 13.72 kB / 0.8488 GB, free: 3.246 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2104, allocations: 314.8 kB / 0.8491 GB, free: 2.93 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.2104, allocations: 7.984 kB / 0.8491 GB, free: 2.922 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.2104, allocations: 5.375 kB / 0.8491 GB, free: 2.918 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.2104, allocations: 16.86 kB / 0.8492 GB, free: 2.898 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2104, allocations: 0 / 0.8492 GB, free: 2.898 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.884e-05/0.2105, allocations: 49.62 kB / 0.8492 GB, free: 2.844 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2105, allocations: 5.594 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2105, allocations: 0 / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2105, allocations: 3.938 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.2106, allocations: 4.25 kB / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2106, allocations: 0.8125 kB / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.2106, allocations: 8 kB / 0.8492 GB, free: 2.824 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2106, allocations: 1.094 kB / 0.8492 GB, free: 2.824 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.112e-05/0.2107, allocations: 110.4 kB / 0.8493 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.2107, allocations: 7.953 kB / 0.8493 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.2108, allocations: 8.484 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2108, allocations: 4.438 kB / 0.8494 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2108, allocations: 0.6562 kB / 0.8494 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2108, allocations: 0 / 0.8494 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2109, allocations: 110 kB / 0.8495 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2109, allocations: 0 / 0.8495 GB, free: 2.547 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.2109, allocations: 12.45 kB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2109, allocations: 0.5938 kB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2109, allocations: 0 / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2109, allocations: 0.625 kB / 0.8495 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2109, allocations: 7.875 kB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.211, allocations: 77.59 kB / 0.8496 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.211, allocations: 4.734 kB / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.2111, allocations: 0 / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.2111, allocations: 0.5 kB / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.2111, allocations: 8.312 kB / 0.8496 GB, free: 2.422 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.2111, allocations: 0.6875 kB / 0.8496 GB, free: 2.422 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.608e-05/0.2112, allocations: 87.27 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2112, allocations: 0.5938 kB / 0.8496 GB, free: 2.336 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001677/0.2113, allocations: 4.719 kB / 0.8497 GB, free: 2.332 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.0001224/0.2114, allocations: 99.75 kB / 0.8497 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.2115, allocations: 28.72 kB / 0.8498 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2115, allocations: 0 / 0.8498 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.2116, allocations: 4.594 kB / 0.8498 GB, free: 2.195 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.2117, allocations: 10.39 kB / 0.8498 GB, free: 2.191 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.212, allocations: 109.5 kB / 0.8499 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.851e-05/0.2121, allocations: 63.91 kB / 0.85 GB, free: 1.977 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.2121, allocations: 0 / 0.85 GB, free: 1.977 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2121, allocations: 11.94 kB / 0.85 GB, free: 1.965 MB / 474.8 MB Notification: Performance of SimCode: time 3.9e-07/0.2121, allocations: 0.5312 kB / 0.85 GB, free: 1.965 MB / 474.8 MB Notification: Performance of Templates: time 0.003105/0.2152, allocations: 400.1 kB / 0.8503 GB, free: 1.645 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_finger_tapping.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.387965513858944]