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_spv.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.001098/0.001098, allocations: 108.3 kB / 19.71 MB, free: 432 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.001055/0.001055, allocations: 216.4 kB / 23 MB, free: 2.965 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.011/1.011, 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.7451/0.7451, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv") [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.001404/0.001404, allocations: 68.55 kB / 0.7698 GB, free: 20.1 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 74.01 MB / 0.8421 GB, free: 10.23 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv): time 0.00136/0.1211, allocations: 0.6044 MB / 0.8427 GB, free: 9.641 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.252e-05/0.1211, allocations: 15.92 kB / 0.8427 GB, free: 9.625 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.1212, allocations: 0.5 kB / 0.8427 GB, free: 9.625 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1212, allocations: 0.5938 kB / 0.8427 GB, free: 9.625 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.1212, allocations: 4.531 kB / 0.8427 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.05e-05/0.1213, allocations: 7.984 kB / 0.8427 GB, free: 9.613 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.1213, allocations: 12.59 kB / 0.8427 GB, free: 9.602 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.1214, allocations: 7.938 kB / 0.8427 GB, free: 9.594 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.1214, allocations: 8.484 kB / 0.8427 GB, free: 9.586 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.066e-05/0.1214, allocations: 8.656 kB / 0.8427 GB, free: 9.578 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1214, allocations: 0 / 0.8427 GB, free: 9.578 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-06/0.1214, allocations: 0.625 kB / 0.8427 GB, free: 9.578 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1215, allocations: 7.984 kB / 0.8428 GB, free: 9.57 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1215, allocations: 8.562 kB / 0.8428 GB, free: 9.562 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.267e-05/0.1216, allocations: 16.5 kB / 0.8428 GB, free: 9.547 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1216, allocations: 0 / 0.8428 GB, free: 9.547 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1216, allocations: 0.5938 kB / 0.8428 GB, free: 9.547 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1216, allocations: 0 / 0.8428 GB, free: 9.547 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.0006007/0.1222, allocations: 259.4 kB / 0.843 GB, free: 9.262 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1222, allocations: 8.031 kB / 0.843 GB, free: 9.254 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1222, allocations: 5.484 kB / 0.843 GB, free: 9.25 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.1223, allocations: 110.5 kB / 0.8431 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1223, allocations: 0.9688 kB / 0.8431 GB, free: 9.117 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1223, allocations: 4.969 kB / 0.8432 GB, free: 9.113 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.386e-05/0.1224, allocations: 38.25 kB / 0.8432 GB, free: 9.07 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1224, allocations: 0.75 kB / 0.8432 GB, free: 9.07 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1224, allocations: 4.656 kB / 0.8432 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1224, allocations: 0 / 0.8432 GB, free: 9.066 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.1225, allocations: 12.5 kB / 0.8432 GB, free: 9.055 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.1226, allocations: 105.3 kB / 0.8433 GB, free: 8.922 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1228, allocations: 55.88 kB / 0.8434 GB, free: 8.859 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.1229, allocations: 8.859 kB / 0.8434 GB, free: 8.848 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-06/0.1229, allocations: 0.5 kB / 0.8434 GB, free: 8.848 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.1229, allocations: 31.28 kB / 0.8434 GB, free: 8.809 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1229, allocations: 0 / 0.8434 GB, free: 8.809 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.123, allocations: 58.28 kB / 0.8435 GB, free: 8.746 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1231, allocations: 51.41 kB / 0.8435 GB, free: 8.684 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.1231, allocations: 110.6 kB / 0.8436 GB, free: 8.566 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.1231, allocations: 29.64 kB / 0.8436 GB, free: 8.531 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.1231, allocations: 84.77 kB / 0.8437 GB, free: 8.445 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1232, allocations: 7.906 kB / 0.8437 GB, free: 8.438 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.1232, allocations: 18.31 kB / 0.8437 GB, free: 8.414 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.26e-05/0.1233, allocations: 319.5 kB / 0.844 GB, free: 8.094 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.1233, allocations: 4 kB / 0.844 GB, free: 8.09 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.1233, allocations: 4.5 kB / 0.8441 GB, free: 8.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.1233, allocations: 17.48 kB / 0.8441 GB, free: 8.066 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1233, allocations: 3.938 kB / 0.8441 GB, free: 8.062 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.603e-05/0.1234, allocations: 46.28 kB / 0.8441 GB, free: 8.012 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1234, allocations: 4.5 kB / 0.8441 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1234, allocations: 3.938 kB / 0.8441 GB, free: 8.004 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1234, allocations: 8.625 kB / 0.8441 GB, free: 7.996 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.1234, allocations: 4.625 kB / 0.8441 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1234, allocations: 0 / 0.8441 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.1234, allocations: 0.5 kB / 0.8441 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.1235, allocations: 336 / 0.8441 GB, free: 7.992 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.086e-05/0.1235, allocations: 111 kB / 0.8442 GB, free: 7.875 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.1235, allocations: 8.562 kB / 0.8443 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.1235, allocations: 8.719 kB / 0.8443 GB, free: 7.855 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1235, allocations: 7.922 kB / 0.8443 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1235, allocations: 4.719 kB / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1235, allocations: 0 / 0.8443 GB, free: 7.844 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.742e-05/0.1236, allocations: 105.9 kB / 0.8444 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1236, allocations: 3.984 kB / 0.8444 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.1236, allocations: 8.531 kB / 0.8444 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.1236, allocations: 0.6875 kB / 0.8444 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1236, allocations: 0 / 0.8444 GB, free: 7.699 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1236, allocations: 4.625 kB / 0.8444 GB, free: 7.695 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1236, allocations: 3.938 kB / 0.8444 GB, free: 7.691 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.743e-05/0.1237, allocations: 69.88 kB / 0.8445 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.1237, allocations: 3.953 kB / 0.8445 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.1237, allocations: 4.625 kB / 0.8445 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.1237, allocations: 0 / 0.8445 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.1237, allocations: 4.781 kB / 0.8445 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.1237, allocations: 0.625 kB / 0.8445 GB, free: 7.594 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.522e-05/0.1237, allocations: 95.2 kB / 0.8446 GB, free: 7.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1237, allocations: 4.625 kB / 0.8446 GB, free: 7.496 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001034/0.1238, allocations: 0 / 0.8446 GB, free: 7.496 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 7.872e-05/0.1239, allocations: 104.4 kB / 0.8447 GB, free: 7.387 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 6.988e-05/0.124, allocations: 20.48 kB / 0.8447 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.124, allocations: 0 / 0.8447 GB, free: 7.367 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.124, allocations: 4.719 kB / 0.8447 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.1241, allocations: 0.625 kB / 0.8447 GB, free: 7.363 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.1243, allocations: 139.3 kB / 0.8448 GB, free: 7.195 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.1244, allocations: 59.97 kB / 0.8449 GB, free: 7.117 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1244, allocations: 15.38 kB / 0.8449 GB, free: 7.102 MB / 474.8 MB Notification: Performance of SimCode: time 6.21e-07/0.1244, allocations: 0.625 kB / 0.8449 GB, free: 7.102 MB / 474.8 MB Notification: Performance of Templates: time 0.001338/0.1257, allocations: 0.4978 MB / 0.8454 GB, free: 6.625 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_spv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.764080822467804]