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_internal_perception.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.0009736/0.0009736, allocations: 108.3 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.001042/0.001042, allocations: 216.4 kB / 23.01 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.033/1.033, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.7294/0.7294, allocations: 312.3 MB / 0.6109 GB, free: 97.69 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_internal_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception") [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.001498/0.001498, allocations: 78.81 kB / 0.7699 GB, free: 20.33 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 73.97 MB / 0.8421 GB, free: 10.48 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception): time 0.001322/0.1084, allocations: 0.6223 MB / 0.8427 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.506e-05/0.1085, allocations: 12.52 kB / 0.8427 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.1085, allocations: 0.625 kB / 0.8427 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1085, allocations: 0 / 0.8427 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.1085, allocations: 8.531 kB / 0.8427 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.173e-05/0.1086, allocations: 4.531 kB / 0.8428 GB, free: 9.852 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.655e-05/0.1086, allocations: 11.92 kB / 0.8428 GB, free: 9.84 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.1087, allocations: 8.594 kB / 0.8428 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.613e-05/0.1087, allocations: 4.609 kB / 0.8428 GB, free: 9.828 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.1087, allocations: 11.92 kB / 0.8428 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1088, allocations: 0.625 kB / 0.8428 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-06/0.1088, allocations: 4 kB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1088, allocations: 0.5 kB / 0.8428 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1088, allocations: 12.42 kB / 0.8428 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.55e-05/0.1089, allocations: 8.5 kB / 0.8428 GB, free: 9.793 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1089, allocations: 0 / 0.8428 GB, free: 9.793 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1089, allocations: 0.5 kB / 0.8428 GB, free: 9.793 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1089, allocations: 0.5 kB / 0.8428 GB, free: 9.793 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.0003089/0.1092, allocations: 258.9 kB / 0.8431 GB, free: 9.508 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1092, allocations: 12.64 kB / 0.8431 GB, free: 9.496 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.1092, allocations: 0.9375 kB / 0.8431 GB, free: 9.496 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/0.1093, allocations: 115.1 kB / 0.8432 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1093, allocations: 384 / 0.8432 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1093, allocations: 4.969 kB / 0.8432 GB, free: 9.355 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.1094, allocations: 38.25 kB / 0.8432 GB, free: 9.312 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1094, allocations: 0.6875 kB / 0.8432 GB, free: 9.312 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1094, allocations: 4.562 kB / 0.8432 GB, free: 9.309 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1094, allocations: 3.984 kB / 0.8432 GB, free: 9.305 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.1095, allocations: 8.5 kB / 0.8432 GB, free: 9.297 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.1096, allocations: 106 kB / 0.8433 GB, free: 9.164 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1098, allocations: 51.25 kB / 0.8434 GB, free: 9.105 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.1099, allocations: 17.38 kB / 0.8434 GB, free: 9.086 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.1099, allocations: 0 / 0.8434 GB, free: 9.086 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1099, allocations: 31.06 kB / 0.8434 GB, free: 9.047 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.1099, allocations: 0.625 kB / 0.8434 GB, free: 9.047 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001284/0.11, allocations: 61.5 kB / 0.8435 GB, free: 8.98 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.11, allocations: 52.03 kB / 0.8435 GB, free: 8.918 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.238e-05/0.1101, allocations: 102.5 kB / 0.8436 GB, free: 8.809 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.1101, allocations: 25.7 kB / 0.8437 GB, free: 8.777 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.1101, allocations: 96.67 kB / 0.8438 GB, free: 8.68 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1101, allocations: 11.91 kB / 0.8438 GB, free: 8.668 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.1102, allocations: 14.47 kB / 0.8438 GB, free: 8.648 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.1102, allocations: 314.8 kB / 0.8441 GB, free: 8.332 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1103, allocations: 0.6875 kB / 0.8441 GB, free: 8.332 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.1103, allocations: 12.23 kB / 0.8441 GB, free: 8.32 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.1103, allocations: 17.58 kB / 0.8441 GB, free: 8.301 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1103, allocations: 4 kB / 0.8441 GB, free: 8.297 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.095e-05/0.1103, allocations: 50.19 kB / 0.8442 GB, free: 8.242 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1104, allocations: 4.531 kB / 0.8442 GB, free: 8.238 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1104, allocations: 4.594 kB / 0.8442 GB, free: 8.234 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1104, allocations: 3.938 kB / 0.8442 GB, free: 8.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.1104, allocations: 4.5 kB / 0.8442 GB, free: 8.227 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1104, allocations: 0.5625 kB / 0.8442 GB, free: 8.227 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.1104, allocations: 0 / 0.8442 GB, free: 8.227 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.1104, allocations: 0.625 kB / 0.8442 GB, free: 8.227 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 4.965e-05/0.1105, allocations: 111.7 kB / 0.8443 GB, free: 8.109 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.1105, allocations: 3.953 kB / 0.8443 GB, free: 8.105 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.1105, allocations: 12.48 kB / 0.8443 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1105, allocations: 8.656 kB / 0.8443 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1105, allocations: 0 / 0.8443 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1105, allocations: 0.625 kB / 0.8443 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.609e-05/0.1106, allocations: 101.3 kB / 0.8444 GB, free: 7.953 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1106, allocations: 0.5938 kB / 0.8444 GB, free: 7.953 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.1106, allocations: 4.594 kB / 0.8444 GB, free: 7.949 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1106, allocations: 3.984 kB / 0.8444 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.1106, allocations: 0.625 kB / 0.8444 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.1106, allocations: 4.625 kB / 0.8444 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1106, allocations: 3.938 kB / 0.8444 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.326e-05/0.1107, allocations: 74 kB / 0.8445 GB, free: 7.848 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.1107, allocations: 15.89 kB / 0.8445 GB, free: 7.832 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.1107, allocations: 0.5312 kB / 0.8445 GB, free: 7.832 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-06/0.1107, allocations: 0.7188 kB / 0.8445 GB, free: 7.832 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1107, allocations: 3.938 kB / 0.8445 GB, free: 7.828 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.1107, allocations: 0.5 kB / 0.8445 GB, free: 7.828 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.585e-05/0.1107, allocations: 87.95 kB / 0.8446 GB, free: 7.742 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1107, allocations: 3.938 kB / 0.8446 GB, free: 7.738 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001062/0.1108, allocations: 4.594 kB / 0.8446 GB, free: 7.734 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.181e-05/0.1109, allocations: 107.8 kB / 0.8447 GB, free: 7.621 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.111, allocations: 12.53 kB / 0.8447 GB, free: 7.609 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.111, allocations: 0 / 0.8447 GB, free: 7.609 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.111, allocations: 16.61 kB / 0.8447 GB, free: 7.594 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.1111, allocations: 0.5938 kB / 0.8447 GB, free: 7.594 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002201/0.1113, allocations: 135.1 kB / 0.8449 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.818e-05/0.1114, allocations: 64.06 kB / 0.8449 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.1114, allocations: 8.125 kB / 0.8449 GB, free: 7.34 MB / 474.8 MB Notification: Performance of SimCode: time 5.31e-07/0.1114, allocations: 0 / 0.8449 GB, free: 7.34 MB / 474.8 MB Notification: Performance of Templates: time 0.0014/0.1128, allocations: 0.4962 MB / 0.8454 GB, free: 6.863 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_vas_internal_perception.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8455996392294765]