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_alertness.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.001/0.001, 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.0009913/0.0009913, allocations: 215.5 kB / 23 MB, free: 2.961 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.084/1.084, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.7668/0.7668, allocations: 312.3 MB / 0.6108 GB, free: 97.54 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_alertness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness") [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.004864/0.004864, allocations: 73.91 kB / 0.7698 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.139, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness): time 0.001356/0.1403, allocations: 0.6186 MB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.882e-05/0.1404, allocations: 16.62 kB / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.1404, allocations: 0 / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.1404, allocations: 0.7188 kB / 0.8427 GB, free: 9.684 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.1405, allocations: 3.938 kB / 0.8427 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.718e-05/0.1405, allocations: 8.531 kB / 0.8427 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.1406, allocations: 12.61 kB / 0.8427 GB, free: 9.66 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.1406, allocations: 4 kB / 0.8427 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.1406, allocations: 4.5 kB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.1407, allocations: 16.48 kB / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1407, allocations: 0 / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-06/0.1407, allocations: 0.5312 kB / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1407, allocations: 4 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1407, allocations: 8.609 kB / 0.8428 GB, free: 9.625 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.868e-05/0.1408, allocations: 16.42 kB / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1408, allocations: 0 / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1408, allocations: 0.6875 kB / 0.8428 GB, free: 9.609 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1408, allocations: 0 / 0.8428 GB, free: 9.609 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.0003093/0.1411, allocations: 258.9 kB / 0.843 GB, free: 9.324 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1411, allocations: 8.531 kB / 0.843 GB, free: 9.316 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.1412, allocations: 5.547 kB / 0.843 GB, free: 9.312 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.1412, allocations: 110.5 kB / 0.8431 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.1412, allocations: 1 kB / 0.8431 GB, free: 9.18 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1413, allocations: 4.969 kB / 0.8431 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.1413, allocations: 38.25 kB / 0.8432 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1413, allocations: 0.9062 kB / 0.8432 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1414, allocations: 3.938 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1414, allocations: 0.5938 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.1414, allocations: 12.66 kB / 0.8432 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.1415, allocations: 109.3 kB / 0.8433 GB, free: 8.98 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1418, allocations: 47.31 kB / 0.8433 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.1418, allocations: 13.48 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1418, allocations: 7.969 kB / 0.8434 GB, free: 8.902 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.1418, allocations: 35.19 kB / 0.8434 GB, free: 8.859 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1418, allocations: 0 / 0.8434 GB, free: 8.859 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001308/0.1419, allocations: 54.23 kB / 0.8435 GB, free: 8.801 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.142, allocations: 56.02 kB / 0.8435 GB, free: 8.734 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.142, allocations: 101.9 kB / 0.8436 GB, free: 8.625 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.142, allocations: 26.33 kB / 0.8436 GB, free: 8.594 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.1421, allocations: 84.14 kB / 0.8437 GB, free: 8.508 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1421, allocations: 12.45 kB / 0.8437 GB, free: 8.496 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.1421, allocations: 18.34 kB / 0.8437 GB, free: 8.473 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.1422, allocations: 314.8 kB / 0.844 GB, free: 8.156 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.1422, allocations: 0.5 kB / 0.844 GB, free: 8.156 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.1422, allocations: 12.48 kB / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.1423, allocations: 16.86 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1423, allocations: 0.7188 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.103e-05/0.1423, allocations: 50.22 kB / 0.8441 GB, free: 8.07 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1423, allocations: 4 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1423, allocations: 0.75 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1424, allocations: 8.531 kB / 0.8441 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.1424, allocations: 8 kB / 0.8441 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1424, allocations: 4.734 kB / 0.8441 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.1424, allocations: 0 / 0.8441 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.1424, allocations: 0.5312 kB / 0.8441 GB, free: 8.047 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.049e-05/0.1425, allocations: 111.6 kB / 0.8442 GB, free: 7.93 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-06/0.1425, allocations: 4.453 kB / 0.8443 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.1425, allocations: 8 kB / 0.8443 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1425, allocations: 8.516 kB / 0.8443 GB, free: 7.906 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.1425, allocations: 4.75 kB / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1425, allocations: 0 / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.545e-05/0.1425, allocations: 106 kB / 0.8444 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.1425, allocations: 0 / 0.8444 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.1426, allocations: 8.438 kB / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1426, allocations: 0 / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1426, allocations: 0.7188 kB / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1426, allocations: 7.984 kB / 0.8444 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1426, allocations: 4.531 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.998e-05/0.1426, allocations: 65.75 kB / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.1426, allocations: 11.89 kB / 0.8445 GB, free: 7.656 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.1426, allocations: 4.625 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.1427, allocations: 4.562 kB / 0.8445 GB, free: 7.648 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1427, allocations: 3.938 kB / 0.8445 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.1427, allocations: 0.6875 kB / 0.8445 GB, free: 7.645 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.36e-05/0.1427, allocations: 83.27 kB / 0.8446 GB, free: 7.562 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1427, allocations: 4.562 kB / 0.8446 GB, free: 7.559 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000104/0.1428, allocations: 4.594 kB / 0.8446 GB, free: 7.555 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.217e-05/0.1429, allocations: 106.5 kB / 0.8447 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.464e-05/0.1429, allocations: 11.94 kB / 0.8447 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1429, allocations: 0.625 kB / 0.8447 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.143, allocations: 16.75 kB / 0.8447 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.1431, allocations: 6.344 kB / 0.8447 GB, free: 7.414 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.1433, allocations: 135.4 kB / 0.8448 GB, free: 7.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.1434, allocations: 59.97 kB / 0.8449 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.1434, allocations: 12.03 kB / 0.8449 GB, free: 7.16 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1434, allocations: 4.438 kB / 0.8449 GB, free: 7.156 MB / 474.8 MB Notification: Performance of Templates: time 0.00132/0.1447, allocations: 495 kB / 0.8454 GB, free: 6.691 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_alertness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.982639397494495]