Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.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.0008295/0.0008295, 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.0009018/0.0009018, allocations: 217.8 kB / 23.01 MB, free: 2.961 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 0.9337/0.9337, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.682/0.682, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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_Hong2008_PD_fla,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla") [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.00144/0.00144, allocations: 74.03 kB / 0.7698 GB, free: 20.26 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1305, allocations: 73.99 MB / 0.8421 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.001389/0.1319, allocations: 0.608 MB / 0.8427 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.876e-05/0.132, allocations: 12.53 kB / 0.8427 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.132, allocations: 0 / 0.8427 GB, free: 9.789 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.132, allocations: 4.562 kB / 0.8427 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.1321, allocations: 4.625 kB / 0.8427 GB, free: 9.781 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.584e-05/0.1321, allocations: 3.984 kB / 0.8427 GB, free: 9.777 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.1322, allocations: 20.42 kB / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.1322, allocations: 0.625 kB / 0.8427 GB, free: 9.758 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1322, allocations: 7.984 kB / 0.8427 GB, free: 9.75 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.1323, allocations: 12.42 kB / 0.8427 GB, free: 9.738 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1323, allocations: 4.594 kB / 0.8428 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-06/0.1323, allocations: 0 / 0.8428 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1323, allocations: 0.5 kB / 0.8428 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1323, allocations: 8.531 kB / 0.8428 GB, free: 9.727 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.939e-05/0.1324, allocations: 7.922 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1324, allocations: 0.75 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1324, allocations: 0 / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1324, allocations: 4.625 kB / 0.8428 GB, free: 9.715 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.0005644/0.133, allocations: 251 kB / 0.843 GB, free: 9.438 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.133, allocations: 12.03 kB / 0.843 GB, free: 9.426 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.133, allocations: 5.5 kB / 0.843 GB, free: 9.422 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.868e-05/0.1331, allocations: 123 kB / 0.8431 GB, free: 9.277 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1331, allocations: 384 / 0.8431 GB, free: 9.277 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1331, allocations: 1.188 kB / 0.8431 GB, free: 9.277 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.1332, allocations: 30.27 kB / 0.8432 GB, free: 9.242 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1332, allocations: 1.062 kB / 0.8432 GB, free: 9.242 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1332, allocations: 3.938 kB / 0.8432 GB, free: 9.238 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1332, allocations: 8.609 kB / 0.8432 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.1333, allocations: 11.98 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.1334, allocations: 102 kB / 0.8433 GB, free: 9.09 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1336, allocations: 55.16 kB / 0.8434 GB, free: 9.027 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.1336, allocations: 9.359 kB / 0.8434 GB, free: 9.016 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.1337, allocations: 4 kB / 0.8434 GB, free: 9.012 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.1337, allocations: 35.19 kB / 0.8434 GB, free: 8.969 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1337, allocations: 0.5 kB / 0.8434 GB, free: 8.969 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001195/0.1338, allocations: 54.22 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.1338, allocations: 51.41 kB / 0.8435 GB, free: 8.848 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.1339, allocations: 110.4 kB / 0.8436 GB, free: 8.73 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1339, allocations: 29.64 kB / 0.8436 GB, free: 8.695 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.1339, allocations: 88.64 kB / 0.8437 GB, free: 8.605 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1339, allocations: 12.52 kB / 0.8437 GB, free: 8.594 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.134, allocations: 17.7 kB / 0.8437 GB, free: 8.57 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.134, allocations: 315.4 kB / 0.844 GB, free: 8.254 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.134, allocations: 4.562 kB / 0.844 GB, free: 8.25 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.134, allocations: 4 kB / 0.8441 GB, free: 8.246 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.1341, allocations: 25.38 kB / 0.8441 GB, free: 8.219 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1341, allocations: 0.5938 kB / 0.8441 GB, free: 8.219 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.715e-05/0.1341, allocations: 45.64 kB / 0.8441 GB, free: 8.168 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1341, allocations: 4.625 kB / 0.8441 GB, free: 8.164 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1341, allocations: 0.625 kB / 0.8441 GB, free: 8.164 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1341, allocations: 3.938 kB / 0.8441 GB, free: 8.16 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.1342, allocations: 8.578 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1342, allocations: 0 / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.1342, allocations: 0.625 kB / 0.8441 GB, free: 8.152 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1342, allocations: 4.719 kB / 0.8441 GB, free: 8.148 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.99e-05/0.1342, allocations: 110.9 kB / 0.8442 GB, free: 8.031 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-06/0.1343, allocations: 8.547 kB / 0.8443 GB, free: 8.023 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.1343, allocations: 8.562 kB / 0.8443 GB, free: 8.012 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1343, allocations: 3.938 kB / 0.8443 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1343, allocations: 0.6875 kB / 0.8443 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1343, allocations: 0 / 0.8443 GB, free: 8.008 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.633e-05/0.1343, allocations: 106 kB / 0.8444 GB, free: 7.875 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.1343, allocations: 0.5938 kB / 0.8444 GB, free: 7.875 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.1343, allocations: 8 kB / 0.8444 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.1343, allocations: 0.7812 kB / 0.8444 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.1344, allocations: 0 / 0.8444 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1344, allocations: 0.625 kB / 0.8444 GB, free: 7.867 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1344, allocations: 3.938 kB / 0.8444 GB, free: 7.863 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.713e-05/0.1344, allocations: 74.02 kB / 0.8445 GB, free: 7.773 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.1344, allocations: 12.52 kB / 0.8445 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.1344, allocations: 3.984 kB / 0.8445 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.1344, allocations: 0.5 kB / 0.8445 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.1345, allocations: 8.438 kB / 0.8445 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1345, allocations: 4.25 kB / 0.8445 GB, free: 7.746 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.1345, allocations: 87.91 kB / 0.8446 GB, free: 7.66 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1345, allocations: 0.6562 kB / 0.8446 GB, free: 7.66 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001033/0.1346, allocations: 4 kB / 0.8446 GB, free: 7.656 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 7.598e-05/0.1347, allocations: 109.3 kB / 0.8447 GB, free: 7.547 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.1347, allocations: 20.56 kB / 0.8447 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1347, allocations: 0.5938 kB / 0.8447 GB, free: 7.527 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.1347, allocations: 4 kB / 0.8447 GB, free: 7.523 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.1348, allocations: 8.609 kB / 0.8447 GB, free: 7.516 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/0.1351, allocations: 139.3 kB / 0.8448 GB, free: 7.348 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.1351, allocations: 55.86 kB / 0.8449 GB, free: 7.273 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.1351, allocations: 16.02 kB / 0.8449 GB, free: 7.258 MB / 474.8 MB Notification: Performance of SimCode: time 5.21e-07/0.1351, allocations: 0.5 kB / 0.8449 GB, free: 7.258 MB / 474.8 MB Notification: Performance of Templates: time 0.001276/0.1364, allocations: 500 kB / 0.8454 GB, free: 6.789 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.779496938921511]