Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.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.0009091/0.0009091, allocations: 112.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.0008778/0.0008778, allocations: 221.3 kB / 23.01 MB, free: 2.926 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.598 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.7502/0.7502, allocations: 312.3 MB / 0.6108 GB, free: 97.08 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.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss") [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.001605/0.001605, allocations: 80.59 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 73.98 MB / 0.8421 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss): time 0.001711/0.1086, allocations: 0.6339 MB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.056e-05/0.1087, allocations: 12.53 kB / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.1087, allocations: 0 / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1087, allocations: 4.469 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.1088, allocations: 0.5312 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.69e-05/0.1088, allocations: 3.984 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.1089, allocations: 20.64 kB / 0.8428 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1089, allocations: 0 / 0.8428 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.109, allocations: 8.469 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.109, allocations: 12.61 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.109, allocations: 0 / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-06/0.109, allocations: 0.5 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1091, allocations: 8.562 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.1091, allocations: 3.984 kB / 0.8428 GB, free: 9.199 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/0.1091, allocations: 16.64 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1091, allocations: 0 / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1091, allocations: 0.5625 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.1092, allocations: 0.7812 kB / 0.8428 GB, free: 9.184 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003835/0.1095, allocations: 262.3 kB / 0.8431 GB, free: 8.895 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1096, allocations: 8.75 kB / 0.8431 GB, free: 8.887 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1096, allocations: 4.938 kB / 0.8431 GB, free: 8.883 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.1097, allocations: 107.2 kB / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1097, allocations: 4.875 kB / 0.8432 GB, free: 8.75 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1097, allocations: 384 / 0.8432 GB, free: 8.75 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.825e-05/0.1098, allocations: 38.88 kB / 0.8432 GB, free: 8.707 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1098, allocations: 4.125 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1098, allocations: 20.3 kB / 0.8432 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1099, allocations: 0.5 kB / 0.8432 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.1099, allocations: 8.625 kB / 0.8433 GB, free: 8.676 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.11, allocations: 109.3 kB / 0.8434 GB, free: 8.539 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1102, allocations: 43.31 kB / 0.8434 GB, free: 8.488 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.1103, allocations: 13.58 kB / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.1103, allocations: 0 / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1103, allocations: 39 kB / 0.8435 GB, free: 8.426 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1103, allocations: 0.7188 kB / 0.8435 GB, free: 8.426 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001614/0.1105, allocations: 57.72 kB / 0.8435 GB, free: 8.363 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1105, allocations: 52.03 kB / 0.8436 GB, free: 8.301 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.1106, allocations: 102.4 kB / 0.8437 GB, free: 8.191 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1106, allocations: 29.7 kB / 0.8437 GB, free: 8.156 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1106, allocations: 80.77 kB / 0.8438 GB, free: 8.074 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1106, allocations: 15.84 kB / 0.8438 GB, free: 8.059 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1107, allocations: 22.3 kB / 0.8438 GB, free: 8.031 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.1107, allocations: 311.4 kB / 0.8441 GB, free: 7.719 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1108, allocations: 8 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.1108, allocations: 4.594 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.1108, allocations: 25.31 kB / 0.8441 GB, free: 7.68 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1108, allocations: 4 kB / 0.8441 GB, free: 7.676 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.562e-05/0.1109, allocations: 46.61 kB / 0.8442 GB, free: 7.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1109, allocations: 8.578 kB / 0.8442 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1109, allocations: 4 kB / 0.8442 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1109, allocations: 8.531 kB / 0.8442 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.111, allocations: 4.625 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.111, allocations: 0 / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.111, allocations: 4.578 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.111, allocations: 4 kB / 0.8442 GB, free: 7.594 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 (4): * Single equations (assignments): 4 * 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 6.114e-05/0.1111, allocations: 110.4 kB / 0.8443 GB, free: 7.477 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.1111, allocations: 4.531 kB / 0.8443 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.191e-05/0.1111, allocations: 8.312 kB / 0.8443 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1111, allocations: 3.938 kB / 0.8443 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1111, allocations: 0.5938 kB / 0.8443 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1111, allocations: 4.578 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.1112, allocations: 113.2 kB / 0.8444 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1112, allocations: 0.5938 kB / 0.8444 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.1112, allocations: 4 kB / 0.8444 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1112, allocations: 1.047 kB / 0.8444 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1112, allocations: 0.6562 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1112, allocations: 0 / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1112, allocations: 16.56 kB / 0.8445 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.835e-05/0.1113, allocations: 85 kB / 0.8445 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.1113, allocations: 0.5312 kB / 0.8445 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1113, allocations: 0.5938 kB / 0.8445 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.1114, allocations: 0 / 0.8445 GB, free: 7.195 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.1114, allocations: 12.41 kB / 0.8446 GB, free: 7.184 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1114, allocations: 4.719 kB / 0.8446 GB, free: 7.18 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.1114, allocations: 83.27 kB / 0.8446 GB, free: 7.098 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1114, allocations: 0.5 kB / 0.8446 GB, free: 7.098 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001817/0.1116, allocations: 4 kB / 0.8446 GB, free: 7.094 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 (4): * Single equations (assignments): 4 * 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 0.0001208/0.1117, allocations: 100.5 kB / 0.8447 GB, free: 6.984 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.136e-05/0.1118, allocations: 19.98 kB / 0.8448 GB, free: 6.965 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1118, allocations: 0.5938 kB / 0.8448 GB, free: 6.965 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.1118, allocations: 16.56 kB / 0.8448 GB, free: 6.949 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.112, allocations: 1.688 kB / 0.8448 GB, free: 6.949 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.1123, allocations: 143.2 kB / 0.8449 GB, free: 6.777 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.1123, allocations: 59.94 kB / 0.845 GB, free: 6.699 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.1123, allocations: 11.44 kB / 0.845 GB, free: 6.688 MB / 474.8 MB Notification: Performance of SimCode: time 4.81e-07/0.1123, allocations: 0.6875 kB / 0.845 GB, free: 6.688 MB / 474.8 MB Notification: Performance of Templates: time 0.001872/0.1142, allocations: 0.5222 MB / 0.8455 GB, free: 6.188 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AD01_Haloperidol.Haloperidol_Pilla2013_PD_panss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.017408175393939]