Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.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.001496/0.001496, 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.001616/0.001616, 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.012/1.012, 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.669/0.669, allocations: 312.3 MB / 0.6109 GB, free: 97.74 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.A10BA02_Metformin.Metformin_Stepensky2002_PD_r,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r") [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.004768/0.004768, allocations: 77.92 kB / 0.7699 GB, free: 20.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1362, allocations: 73.98 MB / 0.8421 GB, free: 10.55 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.001407/0.1377, allocations: 0.604 MB / 0.8427 GB, free: 9.957 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.363e-05/0.1377, allocations: 12.45 kB / 0.8427 GB, free: 9.945 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1377, allocations: 0.5938 kB / 0.8427 GB, free: 9.945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.1378, allocations: 0.5938 kB / 0.8427 GB, free: 9.945 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1378, allocations: 3.938 kB / 0.8427 GB, free: 9.941 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.392e-05/0.1378, allocations: 0.5 kB / 0.8427 GB, free: 9.941 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.1379, allocations: 20.42 kB / 0.8428 GB, free: 9.922 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.138, allocations: 0.7188 kB / 0.8428 GB, free: 9.922 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.138, allocations: 7.984 kB / 0.8428 GB, free: 9.914 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.138, allocations: 16.58 kB / 0.8428 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.138, allocations: 0 / 0.8428 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.138, allocations: 0.5938 kB / 0.8428 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1381, allocations: 0 / 0.8428 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.1381, allocations: 8.562 kB / 0.8428 GB, free: 9.891 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.669e-05/0.1381, allocations: 4.609 kB / 0.8428 GB, free: 9.887 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1381, allocations: 4 kB / 0.8428 GB, free: 9.883 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1381, allocations: 0.5938 kB / 0.8428 GB, free: 9.883 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1382, allocations: 3.938 kB / 0.8428 GB, free: 9.879 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.0003065/0.1385, allocations: 255.3 kB / 0.843 GB, free: 9.598 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1385, allocations: 8.812 kB / 0.8431 GB, free: 9.59 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.1385, allocations: 0.9375 kB / 0.8431 GB, free: 9.59 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.1386, allocations: 123 kB / 0.8432 GB, free: 9.445 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1386, allocations: 4.312 kB / 0.8432 GB, free: 9.441 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1387, allocations: 1 kB / 0.8432 GB, free: 9.441 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.184e-05/0.1387, allocations: 38.2 kB / 0.8432 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1388, allocations: 0.7812 kB / 0.8432 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1388, allocations: 8.516 kB / 0.8432 GB, free: 9.391 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1388, allocations: 0 / 0.8432 GB, free: 9.391 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.1388, allocations: 12.5 kB / 0.8432 GB, free: 9.379 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.1389, allocations: 101.8 kB / 0.8433 GB, free: 9.25 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1392, allocations: 59.25 kB / 0.8434 GB, free: 9.184 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.1392, allocations: 5.422 kB / 0.8434 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1392, allocations: 4 kB / 0.8434 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.1392, allocations: 35.06 kB / 0.8434 GB, free: 9.129 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1392, allocations: 0.6875 kB / 0.8434 GB, free: 9.129 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001338/0.1394, allocations: 49.72 kB / 0.8435 GB, free: 9.074 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1394, allocations: 55.94 kB / 0.8435 GB, free: 9.008 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.1394, allocations: 102.4 kB / 0.8436 GB, free: 8.898 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.1395, allocations: 29.64 kB / 0.8437 GB, free: 8.863 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.1395, allocations: 84.77 kB / 0.8437 GB, free: 8.777 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.1395, allocations: 8.438 kB / 0.8437 GB, free: 8.77 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.1395, allocations: 21.7 kB / 0.8438 GB, free: 8.742 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.1396, allocations: 311.4 kB / 0.8441 GB, free: 8.43 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.1396, allocations: 8.562 kB / 0.8441 GB, free: 8.422 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-06/0.1396, allocations: 4 kB / 0.8441 GB, free: 8.418 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.1397, allocations: 25.61 kB / 0.8441 GB, free: 8.391 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1397, allocations: 0.5 kB / 0.8441 GB, free: 8.391 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.915e-05/0.1397, allocations: 46.22 kB / 0.8441 GB, free: 8.34 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1397, allocations: 4 kB / 0.8441 GB, free: 8.336 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1397, allocations: 0.5938 kB / 0.8441 GB, free: 8.336 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1397, allocations: 4.531 kB / 0.8442 GB, free: 8.332 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.072e-05/0.1398, allocations: 11.92 kB / 0.8442 GB, free: 8.32 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1398, allocations: 4.594 kB / 0.8442 GB, free: 8.316 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.004e-05/0.1398, allocations: 0.75 kB / 0.8442 GB, free: 8.316 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1398, allocations: 4 kB / 0.8442 GB, free: 8.312 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.83e-05/0.1398, allocations: 106.3 kB / 0.8443 GB, free: 8.199 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-06/0.1399, allocations: 0.7812 kB / 0.8443 GB, free: 8.199 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.1399, allocations: 11.69 kB / 0.8443 GB, free: 8.188 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1399, allocations: 4.656 kB / 0.8443 GB, free: 8.184 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1399, allocations: 0 / 0.8443 GB, free: 8.184 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1399, allocations: 0.5312 kB / 0.8443 GB, free: 8.184 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.6e-05/0.1399, allocations: 105.3 kB / 0.8444 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.1399, allocations: 0.5938 kB / 0.8444 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.1399, allocations: 4.5 kB / 0.8444 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1399, allocations: 4.594 kB / 0.8444 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.14, allocations: 0 / 0.8444 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.14, allocations: 4.562 kB / 0.8444 GB, free: 8.039 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.14, allocations: 4.188 kB / 0.8444 GB, free: 8.035 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.309e-05/0.14, allocations: 77.64 kB / 0.8445 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.14, allocations: 4.656 kB / 0.8445 GB, free: 7.938 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.14, allocations: 4 kB / 0.8445 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.14, allocations: 0.625 kB / 0.8445 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.1401, allocations: 7.922 kB / 0.8445 GB, free: 7.926 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1401, allocations: 4.594 kB / 0.8445 GB, free: 7.922 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.1401, allocations: 79.91 kB / 0.8446 GB, free: 7.844 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1401, allocations: 0 / 0.8446 GB, free: 7.844 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001047/0.1402, allocations: 4.625 kB / 0.8446 GB, free: 7.84 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.531e-05/0.1403, allocations: 103.8 kB / 0.8447 GB, free: 7.727 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.1403, allocations: 12.58 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1403, allocations: 0.5 kB / 0.8447 GB, free: 7.715 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.1404, allocations: 15.94 kB / 0.8447 GB, free: 7.699 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.1405, allocations: 0.5625 kB / 0.8447 GB, free: 7.699 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.1407, allocations: 131.3 kB / 0.8448 GB, free: 7.539 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.1407, allocations: 63.84 kB / 0.8449 GB, free: 7.457 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.1407, allocations: 8.156 kB / 0.8449 GB, free: 7.449 MB / 474.8 MB Notification: Performance of SimCode: time 4.91e-07/0.1407, allocations: 0.5 kB / 0.8449 GB, free: 7.449 MB / 474.8 MB Notification: Performance of Templates: time 0.001277/0.142, allocations: 0.4895 MB / 0.8454 GB, free: 6.98 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.99365156237036]