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.0009601/0.0009601, 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.001022/0.001022, allocations: 221.8 kB / 23.01 MB, free: 2.938 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.031/1.031, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.7805/0.7805, allocations: 312.3 MB / 0.6108 GB, free: 97.65 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.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.00159/0.00159, allocations: 72.95 kB / 0.7698 GB, free: 20.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1338, allocations: 73.99 MB / 0.8421 GB, free: 10.49 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins): time 0.001502/0.1353, allocations: 0.6041 MB / 0.8427 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.48e-05/0.1354, allocations: 12.59 kB / 0.8427 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.1354, allocations: 0 / 0.8427 GB, free: 9.887 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.1354, allocations: 4.625 kB / 0.8427 GB, free: 9.883 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.1355, allocations: 0 / 0.8427 GB, free: 9.883 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.029e-05/0.1355, allocations: 4.578 kB / 0.8427 GB, free: 9.879 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.1356, allocations: 20.73 kB / 0.8427 GB, free: 9.859 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.1357, allocations: 0 / 0.8427 GB, free: 9.859 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1357, allocations: 8.562 kB / 0.8427 GB, free: 9.852 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.1357, allocations: 3.984 kB / 0.8427 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1357, allocations: 4.625 kB / 0.8427 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.1358, allocations: 0 / 0.8427 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1358, allocations: 8.656 kB / 0.8427 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1358, allocations: 3.984 kB / 0.8427 GB, free: 9.832 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.234e-05/0.1359, allocations: 12.42 kB / 0.8428 GB, free: 9.82 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1359, allocations: 0.6562 kB / 0.8428 GB, free: 9.82 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1359, allocations: 0 / 0.8428 GB, free: 9.82 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1359, allocations: 0.6562 kB / 0.8428 GB, free: 9.82 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.0003517/0.1362, allocations: 254.9 kB / 0.843 GB, free: 9.539 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1363, allocations: 8.625 kB / 0.843 GB, free: 9.531 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.1363, allocations: 4.938 kB / 0.843 GB, free: 9.527 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.728e-05/0.1364, allocations: 111.1 kB / 0.8431 GB, free: 9.395 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1364, allocations: 4.875 kB / 0.8431 GB, free: 9.391 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1364, allocations: 384 / 0.8431 GB, free: 9.391 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.1365, allocations: 38.7 kB / 0.8432 GB, free: 9.348 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1365, allocations: 0.9062 kB / 0.8432 GB, free: 9.348 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1365, allocations: 3.938 kB / 0.8432 GB, free: 9.344 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1365, allocations: 0.6562 kB / 0.8432 GB, free: 9.344 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.1366, allocations: 15.98 kB / 0.8432 GB, free: 9.328 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.1367, allocations: 105.9 kB / 0.8433 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.137, allocations: 51.28 kB / 0.8433 GB, free: 9.137 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.137, allocations: 9.484 kB / 0.8433 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-06/0.137, allocations: 3.938 kB / 0.8433 GB, free: 9.121 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.137, allocations: 31.16 kB / 0.8434 GB, free: 9.082 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.137, allocations: 4.906 kB / 0.8434 GB, free: 9.078 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001353/0.1371, allocations: 57.66 kB / 0.8434 GB, free: 9.016 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1372, allocations: 52.19 kB / 0.8435 GB, free: 8.953 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.1372, allocations: 101.8 kB / 0.8436 GB, free: 8.844 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.1372, allocations: 25.7 kB / 0.8436 GB, free: 8.812 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.1373, allocations: 88.7 kB / 0.8437 GB, free: 8.723 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1373, allocations: 4.578 kB / 0.8437 GB, free: 8.719 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1373, allocations: 17.72 kB / 0.8437 GB, free: 8.695 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.1374, allocations: 319.4 kB / 0.844 GB, free: 8.375 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.1374, allocations: 0.5938 kB / 0.844 GB, free: 8.375 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.1374, allocations: 12.19 kB / 0.844 GB, free: 8.363 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.1375, allocations: 17.36 kB / 0.844 GB, free: 8.344 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1375, allocations: 4.5 kB / 0.8441 GB, free: 8.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.241e-05/0.1375, allocations: 45.92 kB / 0.8441 GB, free: 8.289 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1375, allocations: 4.656 kB / 0.8441 GB, free: 8.285 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1375, allocations: 0.5625 kB / 0.8441 GB, free: 8.285 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1375, allocations: 11.97 kB / 0.8441 GB, free: 8.273 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.1376, allocations: 8.5 kB / 0.8441 GB, free: 8.266 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1376, allocations: 0.5 kB / 0.8441 GB, free: 8.266 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.1376, allocations: 0.625 kB / 0.8441 GB, free: 8.266 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.1376, allocations: 0 / 0.8441 GB, free: 8.266 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 6.21e-05/0.1377, allocations: 119.7 kB / 0.8442 GB, free: 8.141 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-06/0.1377, allocations: 0 / 0.8442 GB, free: 8.141 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1377, allocations: 8.281 kB / 0.8442 GB, free: 8.133 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1377, allocations: 4.531 kB / 0.8442 GB, free: 8.129 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1377, allocations: 0 / 0.8442 GB, free: 8.129 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1377, allocations: 4.625 kB / 0.8443 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.62e-05/0.1378, allocations: 105.3 kB / 0.8444 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1378, allocations: 0.625 kB / 0.8444 GB, free: 7.992 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.1378, allocations: 4.594 kB / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1378, allocations: 0 / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1378, allocations: 0.625 kB / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.1378, allocations: 0 / 0.8444 GB, free: 7.988 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1378, allocations: 4.656 kB / 0.8444 GB, free: 7.984 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.1379, allocations: 73.08 kB / 0.8444 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.1379, allocations: 0.5938 kB / 0.8444 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.1379, allocations: 4.531 kB / 0.8444 GB, free: 7.891 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.1379, allocations: 11.94 kB / 0.8444 GB, free: 7.879 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.1379, allocations: 8.578 kB / 0.8445 GB, free: 7.871 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.1379, allocations: 0 / 0.8445 GB, free: 7.871 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.658e-05/0.1379, allocations: 80.03 kB / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1379, allocations: 0 / 0.8445 GB, free: 7.793 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001062/0.138, allocations: 4.5 kB / 0.8445 GB, free: 7.789 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.643e-05/0.1381, allocations: 109.5 kB / 0.8446 GB, free: 7.676 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.337e-05/0.1382, allocations: 16.7 kB / 0.8447 GB, free: 7.66 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1382, allocations: 0 / 0.8447 GB, free: 7.66 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.1382, allocations: 8.469 kB / 0.8447 GB, free: 7.652 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.1383, allocations: 8.531 kB / 0.8447 GB, free: 7.645 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002291/0.1386, allocations: 131.2 kB / 0.8448 GB, free: 7.484 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.1386, allocations: 63.94 kB / 0.8449 GB, free: 7.402 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1386, allocations: 8.062 kB / 0.8449 GB, free: 7.395 MB / 474.8 MB Notification: Performance of SimCode: time 7.62e-07/0.1386, allocations: 0 / 0.8449 GB, free: 7.395 MB / 474.8 MB Notification: Performance of Templates: time 0.001429/0.1401, allocations: 0.4941 MB / 0.8454 GB, free: 6.922 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.04728137049824]