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_heart_rate.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.0009602/0.0009602, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001059/0.001059, allocations: 213.3 kB / 23.01 MB, free: 2.941 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.058/1.058, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7662/0.7662, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") [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.002067/0.002067, allocations: 72.89 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1314, allocations: 74 MB / 0.8421 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate): time 0.001337/0.1328, allocations: 0.6104 MB / 0.8427 GB, free: 9.262 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.105e-05/0.1328, allocations: 16.58 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.1328, allocations: 0 / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1329, allocations: 0.5 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.1329, allocations: 4.562 kB / 0.8427 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.479e-05/0.1329, allocations: 4.484 kB / 0.8427 GB, free: 9.238 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.133, allocations: 12 kB / 0.8427 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.133, allocations: 8.375 kB / 0.8428 GB, free: 9.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1331, allocations: 8.484 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.1331, allocations: 4.469 kB / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1331, allocations: 4 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-06/0.1331, allocations: 0.6875 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1331, allocations: 3.984 kB / 0.8428 GB, free: 9.199 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1332, allocations: 12.56 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.794e-05/0.1332, allocations: 12.5 kB / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1332, allocations: 0 / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1332, allocations: 4.719 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1332, allocations: 0 / 0.8428 GB, free: 9.172 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.0003205/0.1336, allocations: 258.9 kB / 0.843 GB, free: 8.887 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1336, allocations: 12.62 kB / 0.8431 GB, free: 8.875 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.1336, allocations: 5.516 kB / 0.8431 GB, free: 8.871 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/0.1337, allocations: 110.5 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1337, allocations: 0.875 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.1337, allocations: 0.875 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.1338, allocations: 38.25 kB / 0.8432 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1338, allocations: 0.75 kB / 0.8432 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1338, allocations: 8.531 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1338, allocations: 0 / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.1339, allocations: 8.5 kB / 0.8432 GB, free: 8.68 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.134, allocations: 109.9 kB / 0.8433 GB, free: 8.543 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1342, allocations: 51.22 kB / 0.8434 GB, free: 8.484 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.1343, allocations: 8.859 kB / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.1343, allocations: 0.5938 kB / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1343, allocations: 35.19 kB / 0.8434 GB, free: 8.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1343, allocations: 0 / 0.8434 GB, free: 8.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001321/0.1344, allocations: 54.19 kB / 0.8435 GB, free: 8.371 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1344, allocations: 52.03 kB / 0.8435 GB, free: 8.309 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.1345, allocations: 105.8 kB / 0.8436 GB, free: 8.195 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.1346, allocations: 26.2 kB / 0.8436 GB, free: 8.164 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.1346, allocations: 88.73 kB / 0.8437 GB, free: 8.074 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.1346, allocations: 11.84 kB / 0.8437 GB, free: 8.062 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.1347, allocations: 18.34 kB / 0.8438 GB, free: 8.039 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.1347, allocations: 314.8 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.1348, allocations: 12.53 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.1348, allocations: 4.719 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.1348, allocations: 20.8 kB / 0.8441 GB, free: 7.684 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1348, allocations: 0.7188 kB / 0.8441 GB, free: 7.684 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.342e-05/0.1349, allocations: 45.69 kB / 0.8441 GB, free: 7.633 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1349, allocations: 4.625 kB / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1349, allocations: 0 / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1349, allocations: 4.531 kB / 0.8442 GB, free: 7.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.1349, allocations: 4.75 kB / 0.8442 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1349, allocations: 0 / 0.8442 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.1349, allocations: 8.625 kB / 0.8442 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1349, allocations: 0.9219 kB / 0.8442 GB, free: 7.613 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 5.051e-05/0.135, allocations: 107.6 kB / 0.8443 GB, free: 7.5 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.135, allocations: 11.94 kB / 0.8443 GB, free: 7.488 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.135, allocations: 8.5 kB / 0.8443 GB, free: 7.477 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.135, allocations: 8.609 kB / 0.8443 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.135, allocations: 0 / 0.8443 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.135, allocations: 4.438 kB / 0.8443 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.559e-05/0.1351, allocations: 106 kB / 0.8444 GB, free: 7.332 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1351, allocations: 3.984 kB / 0.8444 GB, free: 7.328 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.1351, allocations: 8.562 kB / 0.8444 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1351, allocations: 0 / 0.8444 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.1351, allocations: 0.625 kB / 0.8444 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.1351, allocations: 0.625 kB / 0.8444 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1351, allocations: 3.938 kB / 0.8444 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.437e-05/0.1352, allocations: 73.84 kB / 0.8445 GB, free: 7.227 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.1352, allocations: 3.953 kB / 0.8445 GB, free: 7.223 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1352, allocations: 0.6562 kB / 0.8445 GB, free: 7.223 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.1352, allocations: 0 / 0.8445 GB, free: 7.223 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1352, allocations: 8.562 kB / 0.8445 GB, free: 7.215 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.1352, allocations: 0 / 0.8445 GB, free: 7.215 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.646e-05/0.1353, allocations: 87.95 kB / 0.8446 GB, free: 7.129 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1353, allocations: 0.75 kB / 0.8446 GB, free: 7.129 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001056/0.1354, allocations: 4 kB / 0.8446 GB, free: 7.125 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 8.586e-05/0.1355, allocations: 105.9 kB / 0.8447 GB, free: 7.016 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.37e-05/0.1355, allocations: 16.58 kB / 0.8447 GB, free: 7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1355, allocations: 8.562 kB / 0.8447 GB, free: 6.992 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.1355, allocations: 4 kB / 0.8447 GB, free: 6.988 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.1356, allocations: 0.625 kB / 0.8447 GB, free: 6.988 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.1359, allocations: 135.2 kB / 0.8448 GB, free: 6.824 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.1359, allocations: 67.91 kB / 0.8449 GB, free: 6.738 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.1359, allocations: 7.938 kB / 0.8449 GB, free: 6.73 MB / 474.8 MB Notification: Performance of SimCode: time 7.21e-07/0.1359, allocations: 0.625 kB / 0.8449 GB, free: 6.73 MB / 474.8 MB Notification: Performance of Templates: time 0.001421/0.1374, allocations: 0.5006 MB / 0.8454 GB, free: 6.246 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.98972175270319]