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.001368/0.001368, 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.001675/0.001675, allocations: 215.5 kB / 23 MB, free: 2.938 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.01/1.01, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7157/0.7157, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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_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.001551/0.001551, allocations: 81.45 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 73.99 MB / 0.8421 GB, free: 9.891 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.001582/0.1291, allocations: 0.608 MB / 0.8427 GB, free: 9.297 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.604e-05/0.1291, allocations: 8.438 kB / 0.8427 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1292, allocations: 1.156 kB / 0.8427 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.1292, allocations: 0 / 0.8427 GB, free: 9.289 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.1292, allocations: 7.875 kB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.186e-05/0.1293, allocations: 8.547 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.1293, allocations: 4 kB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.1294, allocations: 16.69 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.1294, allocations: 4 kB / 0.8428 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.1295, allocations: 4.438 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.1295, allocations: 0.625 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-06/0.1295, allocations: 7.938 kB / 0.8428 GB, free: 9.238 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.1295, allocations: 4.547 kB / 0.8428 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1295, allocations: 8.562 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.116e-05/0.1296, allocations: 11.92 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1296, allocations: 0.5 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1296, allocations: 4.531 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1296, allocations: 0 / 0.8428 GB, free: 9.211 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.0003535/0.13, allocations: 259.5 kB / 0.843 GB, free: 8.926 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.13, allocations: 8.031 kB / 0.843 GB, free: 8.918 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.13, allocations: 5.438 kB / 0.8431 GB, free: 8.914 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.1301, allocations: 106.5 kB / 0.8432 GB, free: 8.785 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1301, allocations: 5 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1302, allocations: 1.094 kB / 0.8432 GB, free: 8.781 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.1302, allocations: 38.25 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1303, allocations: 0.9062 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1303, allocations: 3.938 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1303, allocations: 0.5625 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.1303, allocations: 11.98 kB / 0.8432 GB, free: 8.723 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.1304, allocations: 113.8 kB / 0.8433 GB, free: 8.582 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1307, allocations: 51.34 kB / 0.8434 GB, free: 8.523 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.1307, allocations: 17.42 kB / 0.8434 GB, free: 8.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.1307, allocations: 0 / 0.8434 GB, free: 8.504 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1308, allocations: 31.28 kB / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1308, allocations: 0 / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.1309, allocations: 58.25 kB / 0.8435 GB, free: 8.402 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1309, allocations: 52.03 kB / 0.8435 GB, free: 8.34 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.131, allocations: 105.8 kB / 0.8436 GB, free: 8.227 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.131, allocations: 26.33 kB / 0.8436 GB, free: 8.195 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.131, allocations: 84.14 kB / 0.8437 GB, free: 8.109 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1311, allocations: 16.44 kB / 0.8437 GB, free: 8.094 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.1311, allocations: 14.34 kB / 0.8438 GB, free: 8.074 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.1312, allocations: 318.8 kB / 0.8441 GB, free: 7.754 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.1312, allocations: 4.719 kB / 0.8441 GB, free: 7.75 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.1312, allocations: 4 kB / 0.8441 GB, free: 7.746 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.1312, allocations: 17.45 kB / 0.8441 GB, free: 7.727 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1312, allocations: 0.9375 kB / 0.8441 GB, free: 7.727 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.619e-05/0.1313, allocations: 49.62 kB / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1313, allocations: 8.625 kB / 0.8441 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1313, allocations: 4 kB / 0.8441 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1313, allocations: 4.531 kB / 0.8442 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.1314, allocations: 4.625 kB / 0.8442 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1314, allocations: 0 / 0.8442 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.1314, allocations: 4.438 kB / 0.8442 GB, free: 7.648 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1314, allocations: 0.5938 kB / 0.8442 GB, free: 7.648 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.973e-05/0.1314, allocations: 116 kB / 0.8443 GB, free: 7.527 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-06/0.1314, allocations: 3.953 kB / 0.8443 GB, free: 7.523 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.1315, allocations: 12.59 kB / 0.8443 GB, free: 7.508 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1315, allocations: 4.562 kB / 0.8443 GB, free: 7.504 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1315, allocations: 0 / 0.8443 GB, free: 7.504 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1315, allocations: 0.625 kB / 0.8443 GB, free: 7.504 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.011e-05/0.1316, allocations: 105.3 kB / 0.8444 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1316, allocations: 0.5938 kB / 0.8444 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.1316, allocations: 4.594 kB / 0.8444 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1316, allocations: 4 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1316, allocations: 0.5 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.1316, allocations: 0.625 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1316, allocations: 11.81 kB / 0.8444 GB, free: 7.352 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.731e-05/0.1316, allocations: 66.08 kB / 0.8445 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.1317, allocations: 11.95 kB / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.1317, allocations: 0.6562 kB / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.1317, allocations: 0.5 kB / 0.8445 GB, free: 7.258 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1317, allocations: 11.95 kB / 0.8445 GB, free: 7.246 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.1317, allocations: 4.625 kB / 0.8445 GB, free: 7.242 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.635e-05/0.1317, allocations: 79.81 kB / 0.8446 GB, free: 7.164 MB / 474.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1317, allocations: 0 / 0.8446 GB, free: 7.164 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001115/0.1318, allocations: 8.562 kB / 0.8446 GB, free: 7.156 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 9.474e-05/0.1319, allocations: 100.5 kB / 0.8447 GB, free: 7.051 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.132, allocations: 15.92 kB / 0.8447 GB, free: 7.035 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.132, allocations: 0.625 kB / 0.8447 GB, free: 7.035 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.132, allocations: 12 kB / 0.8447 GB, free: 7.023 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.1321, allocations: 0.5312 kB / 0.8447 GB, free: 7.023 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.1324, allocations: 135.3 kB / 0.8448 GB, free: 6.859 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.863e-05/0.1324, allocations: 68.02 kB / 0.8449 GB, free: 6.773 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.1325, allocations: 8.031 kB / 0.8449 GB, free: 6.766 MB / 474.8 MB Notification: Performance of SimCode: time 6.51e-07/0.1325, allocations: 0 / 0.8449 GB, free: 6.766 MB / 474.8 MB Notification: Performance of Templates: time 0.00145/0.1339, allocations: 0.4972 MB / 0.8454 GB, free: 6.289 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 > 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: 5.684756150469184]