Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.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.002588/0.002588, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.003053/0.003053, allocations: 218.4 kB / 22.25 MB, free: 3.57 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.715/1.715, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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 1.424/1.424, allocations: 316.7 MB / 0.6144 GB, free: 93.03 MB / 410.7 MB " [Timeout remaining time 178] 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.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins") [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.003913/0.003913, allocations: 81.83 kB / 0.7749 GB, free: 14.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1635, allocations: 73.99 MB / 0.8472 GB, free: 4.992 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins): time 0.001968/0.1655, allocations: 0.6102 MB / 0.8478 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.324e-05/0.1655, allocations: 3.984 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.1656, allocations: 0.625 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.1656, allocations: 4.5 kB / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.1656, allocations: 0 / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.233e-05/0.1657, allocations: 12.58 kB / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.1657, allocations: 12.56 kB / 0.8478 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.1658, allocations: 3.984 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.024e-05/0.1658, allocations: 8.719 kB / 0.8478 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.1659, allocations: 7.938 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1659, allocations: 0.5938 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-06/0.1659, allocations: 0 / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1659, allocations: 4.547 kB / 0.8479 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1659, allocations: 9.844 kB / 0.8479 GB, free: 4.336 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.758e-05/0.166, allocations: 15.91 kB / 0.8479 GB, free: 4.32 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.166, allocations: 4 kB / 0.8479 GB, free: 4.316 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.903e-06/0.166, allocations: 0 / 0.8479 GB, free: 4.316 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.166, allocations: 0 / 0.8479 GB, free: 4.316 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.0004433/0.1664, allocations: 255.6 kB / 0.8481 GB, free: 4.035 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1665, allocations: 8.031 kB / 0.8481 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.1665, allocations: 0.9375 kB / 0.8481 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.1666, allocations: 115 kB / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.1666, allocations: 1.531 kB / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1666, allocations: 384 / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1667, allocations: 42.25 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1667, allocations: 0.7812 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1668, allocations: 3.938 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1668, allocations: 4.438 kB / 0.8483 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.1668, allocations: 8.641 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.167, allocations: 105.3 kB / 0.8484 GB, free: 3.695 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.1673, allocations: 51.19 kB / 0.8484 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.1674, allocations: 13.52 kB / 0.8485 GB, free: 3.621 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1674, allocations: 4.562 kB / 0.8485 GB, free: 3.617 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1674, allocations: 30.56 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.1674, allocations: 4.656 kB / 0.8485 GB, free: 3.574 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001612/0.1676, allocations: 50.34 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1676, allocations: 55.41 kB / 0.8486 GB, free: 3.453 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1677, allocations: 102.5 kB / 0.8487 GB, free: 3.344 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1677, allocations: 25.7 kB / 0.8487 GB, free: 3.312 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1678, allocations: 84.77 kB / 0.8488 GB, free: 3.227 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1678, allocations: 8.516 kB / 0.8488 GB, free: 3.219 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1678, allocations: 13.72 kB / 0.8488 GB, free: 3.199 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.168, allocations: 319.4 kB / 0.8491 GB, free: 2.879 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.168, allocations: 7.984 kB / 0.8491 GB, free: 2.871 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.1681, allocations: 8.562 kB / 0.8491 GB, free: 2.863 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.1681, allocations: 17.42 kB / 0.8492 GB, free: 2.844 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1681, allocations: 4 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.707e-05/0.1682, allocations: 46.36 kB / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1682, allocations: 10.34 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1682, allocations: 0.625 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1682, allocations: 4.438 kB / 0.8492 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.1683, allocations: 4.25 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1683, allocations: 0.625 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.1683, allocations: 4.969 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1683, allocations: 4 kB / 0.8492 GB, free: 2.766 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 9.087e-05/0.1684, allocations: 110.8 kB / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-06/0.1684, allocations: 0 / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.1684, allocations: 11.67 kB / 0.8494 GB, free: 2.637 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1684, allocations: 5.094 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1684, allocations: 3.938 kB / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1684, allocations: 0 / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1685, allocations: 101.8 kB / 0.8495 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1685, allocations: 1.75 kB / 0.8495 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1686, allocations: 7.984 kB / 0.8495 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1686, allocations: 4 kB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.1686, allocations: 0 / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1686, allocations: 0 / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1686, allocations: 5.281 kB / 0.8495 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1687, allocations: 73.41 kB / 0.8495 GB, free: 2.395 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.1687, allocations: 4 kB / 0.8496 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.1687, allocations: 0 / 0.8496 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.1687, allocations: 1.141 kB / 0.8496 GB, free: 2.391 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.1688, allocations: 7.922 kB / 0.8496 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1688, allocations: 0 / 0.8496 GB, free: 2.383 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.1688, allocations: 93.11 kB / 0.8497 GB, free: 2.293 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1688, allocations: 3.938 kB / 0.8497 GB, free: 2.289 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001775/0.169, allocations: 0 / 0.8497 GB, free: 2.289 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 0.0001212/0.1691, allocations: 103.9 kB / 0.8498 GB, free: 2.176 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.1692, allocations: 12 kB / 0.8498 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1692, allocations: 2.438 kB / 0.8498 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.1692, allocations: 15.92 kB / 0.8498 GB, free: 2.148 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1694, allocations: 0 / 0.8498 GB, free: 2.148 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1696, allocations: 112.8 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.1697, allocations: 67.28 kB / 0.85 GB, free: 1.926 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.448e-05/0.1697, allocations: 4.625 kB / 0.85 GB, free: 1.922 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.1698, allocations: 8.156 kB / 0.85 GB, free: 1.914 MB / 474.8 MB Notification: Performance of SimCode: time 3.8e-07/0.1698, allocations: 0 / 0.85 GB, free: 1.914 MB / 474.8 MB Notification: Performance of Templates: time 0.002785/0.1726, allocations: 404.5 kB / 0.8504 GB, free: 1.594 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.296241163974628]