Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.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.001335/0.001335, allocations: 104.3 kB / 19.71 MB, free: 440 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.001339/0.001339, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.11/1.11, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7856/0.7856, allocations: 312.3 MB / 0.6109 GB, free: 97.09 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.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c") [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.001475/0.001475, allocations: 69.7 kB / 0.7699 GB, free: 19.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1362, allocations: 74 MB / 0.8421 GB, free: 9.973 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c): time 0.001533/0.1378, allocations: 0.6049 MB / 0.8427 GB, free: 9.387 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.925e-05/0.1378, allocations: 11.91 kB / 0.8427 GB, free: 9.375 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.1378, allocations: 0.5938 kB / 0.8427 GB, free: 9.375 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.1379, allocations: 4.562 kB / 0.8427 GB, free: 9.371 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.1379, allocations: 7.938 kB / 0.8427 GB, free: 9.363 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.554e-05/0.138, allocations: 4.625 kB / 0.8427 GB, free: 9.359 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.138, allocations: 8.484 kB / 0.8427 GB, free: 9.352 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.1381, allocations: 4 kB / 0.8427 GB, free: 9.348 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.1381, allocations: 4.594 kB / 0.8427 GB, free: 9.344 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.1382, allocations: 12.42 kB / 0.8428 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1382, allocations: 0 / 0.8428 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.1382, allocations: 0.6875 kB / 0.8428 GB, free: 9.332 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.1382, allocations: 4.562 kB / 0.8428 GB, free: 9.328 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.1382, allocations: 7.922 kB / 0.8428 GB, free: 9.32 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.851e-05/0.1383, allocations: 16.55 kB / 0.8428 GB, free: 9.305 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1383, allocations: 0 / 0.8428 GB, free: 9.305 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1383, allocations: 0.5938 kB / 0.8428 GB, free: 9.305 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1383, allocations: 4.609 kB / 0.8428 GB, free: 9.301 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.0003677/0.1387, allocations: 254.9 kB / 0.843 GB, free: 9.02 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1387, allocations: 8.719 kB / 0.843 GB, free: 9.012 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1388, allocations: 0.9375 kB / 0.843 GB, free: 9.012 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.1388, allocations: 115.1 kB / 0.8432 GB, free: 8.875 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1389, allocations: 4.312 kB / 0.8432 GB, free: 8.871 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1389, allocations: 4.875 kB / 0.8432 GB, free: 8.867 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.139, allocations: 34.88 kB / 0.8432 GB, free: 8.828 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.139, allocations: 192 / 0.8432 GB, free: 8.828 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.139, allocations: 8.562 kB / 0.8432 GB, free: 8.82 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.139, allocations: 0 / 0.8432 GB, free: 8.82 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.139, allocations: 4.625 kB / 0.8432 GB, free: 8.816 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1392, allocations: 110 kB / 0.8433 GB, free: 8.68 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.1395, allocations: 51.06 kB / 0.8434 GB, free: 8.621 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.1395, allocations: 13.48 kB / 0.8434 GB, free: 8.605 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.1395, allocations: 4.078 kB / 0.8434 GB, free: 8.602 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1395, allocations: 31.19 kB / 0.8434 GB, free: 8.562 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1395, allocations: 0 / 0.8434 GB, free: 8.562 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001406/0.1396, allocations: 50.3 kB / 0.8435 GB, free: 8.508 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.1397, allocations: 56.02 kB / 0.8435 GB, free: 8.441 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.1397, allocations: 101.9 kB / 0.8436 GB, free: 8.332 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1398, allocations: 34.39 kB / 0.8436 GB, free: 8.293 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.1398, allocations: 84.08 kB / 0.8437 GB, free: 8.207 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1398, allocations: 16.55 kB / 0.8437 GB, free: 8.191 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1398, allocations: 13.72 kB / 0.8437 GB, free: 8.172 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.1399, allocations: 315.5 kB / 0.8441 GB, free: 7.855 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.1399, allocations: 8 kB / 0.8441 GB, free: 7.848 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.1399, allocations: 4.562 kB / 0.8441 GB, free: 7.844 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.14, allocations: 21.34 kB / 0.8441 GB, free: 7.82 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.14, allocations: 0 / 0.8441 GB, free: 7.82 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.27e-05/0.14, allocations: 42.33 kB / 0.8441 GB, free: 7.773 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.14, allocations: 4.5 kB / 0.8441 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1401, allocations: 0 / 0.8441 GB, free: 7.77 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1401, allocations: 8.75 kB / 0.8441 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.524e-05/0.1401, allocations: 8.438 kB / 0.8441 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1401, allocations: 0.625 kB / 0.8441 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.1401, allocations: 4 kB / 0.8441 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1401, allocations: 0.7188 kB / 0.8441 GB, free: 7.75 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.255e-05/0.1402, allocations: 106.3 kB / 0.8443 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.1402, allocations: 12.64 kB / 0.8443 GB, free: 7.625 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.1402, allocations: 3.688 kB / 0.8443 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1402, allocations: 4.594 kB / 0.8443 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1402, allocations: 0 / 0.8443 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1402, allocations: 0.625 kB / 0.8443 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.821e-05/0.1403, allocations: 117.2 kB / 0.8444 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.1403, allocations: 0.5938 kB / 0.8444 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.1403, allocations: 4.625 kB / 0.8444 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1403, allocations: 0 / 0.8444 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1403, allocations: 0.625 kB / 0.8444 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.1403, allocations: 0 / 0.8444 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1403, allocations: 4.562 kB / 0.8444 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.1404, allocations: 77.59 kB / 0.8445 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.1404, allocations: 0 / 0.8445 GB, free: 7.371 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.1404, allocations: 4.703 kB / 0.8445 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-06/0.1404, allocations: 0 / 0.8445 GB, free: 7.367 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.64e-05/0.1404, allocations: 8.562 kB / 0.8445 GB, free: 7.359 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1404, allocations: 0 / 0.8445 GB, free: 7.359 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.681e-05/0.1404, allocations: 88.16 kB / 0.8446 GB, free: 7.273 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1404, allocations: 0.5938 kB / 0.8446 GB, free: 7.273 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001053/0.1405, allocations: 4 kB / 0.8446 GB, free: 7.27 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.008e-05/0.1406, allocations: 104.5 kB / 0.8447 GB, free: 7.156 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.1407, allocations: 15.94 kB / 0.8447 GB, free: 7.141 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1407, allocations: 0.5938 kB / 0.8447 GB, free: 7.141 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/0.1407, allocations: 12.44 kB / 0.8447 GB, free: 7.129 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.1408, allocations: 4.656 kB / 0.8447 GB, free: 7.125 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002358/0.1411, allocations: 134.6 kB / 0.8448 GB, free: 6.961 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.1411, allocations: 56.05 kB / 0.8449 GB, free: 6.887 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.1411, allocations: 12.06 kB / 0.8449 GB, free: 6.875 MB / 474.8 MB Notification: Performance of SimCode: time 3.71e-07/0.1411, allocations: 0.625 kB / 0.8449 GB, free: 6.875 MB / 474.8 MB Notification: Performance of Templates: time 0.001502/0.1426, allocations: 0.4895 MB / 0.8454 GB, free: 6.402 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C10A_LipidModifyingAgentsPlain.C10AA01_Simvastatin.Simvastatin_Kim2011_PD_ldl_c.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.670086315833032]