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.0007114/0.0007114, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009349/0.001646, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007274/0.0007274, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009051/0.001632, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9326/0.9326, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.021, allocations: 53.66 MB / 243.2 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.7525/0.7525, allocations: 291.2 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02469/0.7772, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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=500,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=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5444 GB, free: 30.67 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.154e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.0009009/0.0009125, allocations: 0.6749 MB / 0.545 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.263e-05/0.0009351, allocations: 15.91 kB / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.0009489, allocations: 0 / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-06/0.0009522, allocations: 0 / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-06/0.0009596, allocations: 0 / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.044e-05/0.00098, allocations: 8 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.001015, allocations: 15.86 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.919e-05/0.001045, allocations: 7.125 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.001086, allocations: 11.98 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.001123, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.001137, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-06/0.001141, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.001149, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.001163, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.367e-05/0.001207, allocations: 7.984 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.001217, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.001218, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.001226, allocations: 0 / 0.5451 GB, free: 29.91 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.0002103/0.001436, allocations: 227.1 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.379e-05/0.00146, allocations: 15.89 kB / 0.5454 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.595e-05/0.001476, allocations: 0.9375 kB / 0.5454 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.293e-05/0.001519, allocations: 125.6 kB / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.001528, allocations: 384 / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.001533, allocations: 4.375 kB / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.526e-05/0.001578, allocations: 26.27 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-06/0.001583, allocations: 8.188 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.001588, allocations: 4.359 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.001591, allocations: 384 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.001605, allocations: 7.938 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.714e-05/0.001663, allocations: 61.05 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.001851, allocations: 54.52 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.157e-05/0.001862, allocations: 8.859 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.001868, allocations: 0 / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.00188, allocations: 30.56 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.00188, allocations: 0 / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 6.299e-05/0.001943, allocations: 49.72 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/0.00196, allocations: 51.41 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.755e-05/0.001987, allocations: 114.6 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-06/0.001991, allocations: 25.7 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-06/0.001998, allocations: 84.12 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.002016, allocations: 3.953 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.002035, allocations: 13.72 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.346e-05/0.002058, allocations: 322.8 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-06/0.002064, allocations: 0 / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.00207, allocations: 4.188 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.002088, allocations: 24.91 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.00209, allocations: 3.125 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.827e-05/0.002118, allocations: 37.7 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.002126, allocations: 8 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.002129, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.002137, allocations: 7.922 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.469e-05/0.002161, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.002164, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.002175, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-06/0.002177, allocations: 0 / 0.5464 GB, free: 28.45 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 2.426e-05/0.002201, allocations: 109.8 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-06/0.002205, allocations: 8 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.00222, allocations: 7.688 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.002221, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.002222, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.002224, allocations: 3.984 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.509e-05/0.002259, allocations: 69.84 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.00226, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.002272, allocations: 4 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.00228, allocations: 3.953 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.002281, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-06/0.002284, allocations: 8 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.002284, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.002285, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.328e-05/0.002318, allocations: 65 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.002326, allocations: 11.98 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.002332, allocations: 3.938 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-06/0.00234, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.002342, allocations: 3.438 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.296e-06/0.00235, allocations: 12.84 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00235, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.692e-05/0.002437, allocations: 4 kB / 0.5467 GB, free: 28.1 MB / 410.7 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 4.409e-05/0.002481, allocations: 92.41 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.011e-05/0.002521, allocations: 12.86 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.002524, allocations: 7.938 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-06/0.002532, allocations: 8.859 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.72e-05/0.002579, allocations: 11.88 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001372/0.002716, allocations: 142.2 kB / 0.547 GB, free: 27.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.275e-05/0.002739, allocations: 63.34 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.002762, allocations: 47.38 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.002763, allocations: 4 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of Templates: time 0.0008713/0.003634, allocations: 0.4928 MB / 0.5476 GB, free: 27.17 MB / 410.7 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: 3.9084462290629745]