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.0007731/0.0007731, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009154/0.001688, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.0007166/0.0007166, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008506/0.001567, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.894/0.894, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.122/1.016, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.8112/0.8112, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02931/0.8405, allocations: 21.05 MB / 0.5432 GB, free: 31.96 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.245e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.0009742/0.0009866, allocations: 0.6789 MB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.311e-05/0.00101, allocations: 3.938 kB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.001025, allocations: 0 / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.318e-06/0.001029, allocations: 0 / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.013e-05/0.00104, allocations: 3.938 kB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.292e-05/0.001062, allocations: 11.98 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.001104, allocations: 11.94 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.001147, allocations: 11.11 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.001191, allocations: 11.94 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.001234, allocations: 11.97 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.00125, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.001254, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.001264, allocations: 4 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.001282, allocations: 3.938 kB / 0.5453 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.122e-05/0.001333, allocations: 7.938 kB / 0.5453 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.001345, allocations: 3.984 kB / 0.5453 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001345, allocations: 0 / 0.5453 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.001358, allocations: 4 kB / 0.5453 GB, free: 29.85 MB / 410.7 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.0002508/0.001609, allocations: 227.1 kB / 0.5455 GB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.00164, allocations: 11.89 kB / 0.5455 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.001662, allocations: 8.938 kB / 0.5455 GB, free: 29.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.483e-05/0.001727, allocations: 113.7 kB / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.001737, allocations: 384 / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.001746, allocations: 384 / 0.5456 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.375e-05/0.00181, allocations: 38.19 kB / 0.5456 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.001816, allocations: 4.125 kB / 0.5457 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.001822, allocations: 4.359 kB / 0.5457 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.001827, allocations: 8.375 kB / 0.5457 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.55e-05/0.001843, allocations: 7.938 kB / 0.5457 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.414e-05/0.001917, allocations: 68.2 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.002101, allocations: 38.56 kB / 0.5458 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.002114, allocations: 4.859 kB / 0.5458 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.002119, allocations: 4 kB / 0.5458 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.002135, allocations: 34.5 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.002136, allocations: 0 / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.632e-05/0.002212, allocations: 41.69 kB / 0.5459 GB, free: 29.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.314e-05/0.002225, allocations: 51.41 kB / 0.5459 GB, free: 29.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.913e-05/0.002264, allocations: 114.7 kB / 0.546 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-06/0.002268, allocations: 29.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-06/0.002276, allocations: 80.14 kB / 0.5461 GB, free: 28.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.002298, allocations: 7.891 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.002319, allocations: 21.69 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.828e-05/0.002347, allocations: 318.8 kB / 0.5465 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.002353, allocations: 0 / 0.5465 GB, free: 28.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.002358, allocations: 4 kB / 0.5465 GB, free: 28.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.002378, allocations: 20.78 kB / 0.5465 GB, free: 28.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00238, allocations: 0 / 0.5465 GB, free: 28.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.575e-05/0.002406, allocations: 41.69 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.002416, allocations: 8 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.002419, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.002431, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.78e-05/0.002459, allocations: 4 kB / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.002461, allocations: 0 / 0.5465 GB, free: 28.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.002473, allocations: 7.953 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-06/0.002475, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 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 3.287e-05/0.002508, allocations: 113.7 kB / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-06/0.002512, allocations: 4 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.002532, allocations: 11.98 kB / 0.5467 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.002534, allocations: 4 kB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.002535, allocations: 0 / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-06/0.00254, allocations: 4 kB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-06/0.002543, allocations: 3.938 kB / 0.5467 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.002552, allocations: 7.312 kB / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-06/0.002557, allocations: 0 / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.002568, allocations: 336 / 0.5467 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.551e-05/0.002603, allocations: 124.9 kB / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 4.895e-05/0.002652, allocations: 210.8 kB / 0.547 GB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.772e-05/0.00267, allocations: 16.78 kB / 0.547 GB, free: 27.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.785e-06/0.002678, allocations: 12.86 kB / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of Backend: time 4.41e-07/0.002678, allocations: 0 / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.00282, allocations: 76.42 kB / 0.5471 GB, free: 27.77 MB / 410.7 MB Notification: Performance of SimCode: time 0.0001852/0.003005, allocations: 0.599 MB / 0.5477 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Templates: time 0.001724/0.004729, allocations: 0.6757 MB / 0.5483 GB, free: 26.5 MB / 410.7 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1749534280970693]