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.002515/0.002515, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002873/0.002873, allocations: 218.4 kB / 22.25 MB, free: 3.574 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.837/1.837, allocations: 230.6 MB / 256 MB, free: 9.637 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.514/1.514, allocations: 316.7 MB / 0.6144 GB, free: 92.92 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.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.006026/0.006026, allocations: 73.3 kB / 0.7749 GB, free: 14.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2273, allocations: 73.99 MB / 0.8472 GB, free: 5 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.002104/0.2294, allocations: 0.6091 MB / 0.8478 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.698e-05/0.2295, allocations: 12.55 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.2295, allocations: 0.5 kB / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.2295, allocations: 0 / 0.8478 GB, free: 4.395 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.2296, allocations: 4.562 kB / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.285e-05/0.2297, allocations: 8.609 kB / 0.8478 GB, free: 4.383 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.2297, allocations: 11.94 kB / 0.8478 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.2298, allocations: 8.484 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.2298, allocations: 0.5938 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.2299, allocations: 7.938 kB / 0.8478 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2299, allocations: 0.5312 kB / 0.8478 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-06/0.2299, allocations: 0.5312 kB / 0.8478 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.2299, allocations: 11.98 kB / 0.8479 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2299, allocations: 4.562 kB / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.23, allocations: 12.52 kB / 0.8479 GB, free: 4.328 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.23, allocations: 0 / 0.8479 GB, free: 4.328 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.23, allocations: 0.5 kB / 0.8479 GB, free: 4.328 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.23, allocations: 0.5938 kB / 0.8479 GB, free: 4.328 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.0004584/0.2305, allocations: 259 kB / 0.8481 GB, free: 4.043 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2305, allocations: 8.031 kB / 0.8481 GB, free: 4.035 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.2305, allocations: 1.438 kB / 0.8481 GB, free: 4.035 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.2307, allocations: 123 kB / 0.8483 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.2307, allocations: 384 / 0.8483 GB, free: 3.891 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.2307, allocations: 9 kB / 0.8483 GB, free: 3.883 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2308, allocations: 34.25 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2309, allocations: 0.8125 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2309, allocations: 4.625 kB / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2309, allocations: 0 / 0.8483 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.2309, allocations: 12.8 kB / 0.8483 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.2311, allocations: 105.3 kB / 0.8484 GB, free: 3.695 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.2315, allocations: 55.19 kB / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.2315, allocations: 5.609 kB / 0.8485 GB, free: 3.625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.2315, allocations: 7.938 kB / 0.8485 GB, free: 3.617 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2315, allocations: 31.38 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.2315, allocations: 0 / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.2317, allocations: 54.22 kB / 0.8486 GB, free: 3.52 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2318, allocations: 59.34 kB / 0.8486 GB, free: 3.449 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2319, allocations: 106.6 kB / 0.8487 GB, free: 3.336 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2319, allocations: 25.7 kB / 0.8487 GB, free: 3.305 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.2319, allocations: 80.98 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.232, allocations: 11.91 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.232, allocations: 14.34 kB / 0.8488 GB, free: 3.191 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2322, allocations: 322.8 kB / 0.8492 GB, free: 2.867 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2322, allocations: 4.938 kB / 0.8492 GB, free: 2.863 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.2322, allocations: 4 kB / 0.8492 GB, free: 2.859 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.2322, allocations: 18.89 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2322, allocations: 0 / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.682e-05/0.2323, allocations: 49.62 kB / 0.8492 GB, free: 2.785 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2323, allocations: 4 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2323, allocations: 0 / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2324, allocations: 7.938 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.2324, allocations: 5 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2324, allocations: 0 / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.2325, allocations: 2 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2325, allocations: 0 / 0.8492 GB, free: 2.77 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.64e-05/0.2326, allocations: 117.8 kB / 0.8494 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.2326, allocations: 4.281 kB / 0.8494 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.2326, allocations: 4 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2326, allocations: 10.61 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2326, allocations: 256 / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2326, allocations: 4 kB / 0.8494 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.2327, allocations: 113.2 kB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2327, allocations: 0 / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.2328, allocations: 4 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2328, allocations: 0 / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2328, allocations: 0 / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2328, allocations: 0.7812 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.2328, allocations: 7.938 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.2329, allocations: 73.94 kB / 0.8496 GB, free: 2.379 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.2329, allocations: 3.953 kB / 0.8496 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.2329, allocations: 4.562 kB / 0.8496 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.2329, allocations: 0 / 0.8496 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.233, allocations: 8.422 kB / 0.8496 GB, free: 2.363 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.233, allocations: 0.625 kB / 0.8496 GB, free: 2.363 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.233, allocations: 87.22 kB / 0.8497 GB, free: 2.277 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.233, allocations: 0.7188 kB / 0.8497 GB, free: 2.277 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001666/0.2332, allocations: 4 kB / 0.8497 GB, free: 2.273 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.0001649/0.2334, allocations: 104.5 kB / 0.8498 GB, free: 2.164 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.2335, allocations: 23.86 kB / 0.8498 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2335, allocations: 0.5938 kB / 0.8498 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.445e-05/0.2335, allocations: 4.531 kB / 0.8498 GB, free: 2.137 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.2337, allocations: 4.656 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.234, allocations: 113.6 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.914e-05/0.2341, allocations: 64.03 kB / 0.85 GB, free: 1.914 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.719e-05/0.2341, allocations: 0 / 0.85 GB, free: 1.914 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.2342, allocations: 8.031 kB / 0.85 GB, free: 1.906 MB / 474.8 MB Notification: Performance of SimCode: time 3.8e-07/0.2342, allocations: 0 / 0.85 GB, free: 1.906 MB / 474.8 MB Notification: Performance of Templates: time 0.003441/0.2376, allocations: 401.6 kB / 0.8504 GB, free: 1.586 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.507946331053972]