Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.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.0008581/0.0008581, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002123, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008404/0.0008404, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002047, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.007/1.007, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/1.114, 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.7407/0.7407, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04431/0.785, allocations: 21.03 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.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.198e-05, allocations: 6.312 kB / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins): time 0.0009775/0.0009894, allocations: 0.6603 MB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.62e-05/0.001016, allocations: 7.922 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001034, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.14e-06/0.001039, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.428e-06/0.001049, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.025e-05/0.001079, allocations: 11.98 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.001133, allocations: 11.88 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.00118, allocations: 7.125 kB / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.001238, allocations: 19.92 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.001296, allocations: 7.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.001316, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-06/0.001322, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.001336, allocations: 4 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.001358, allocations: 3.938 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.001425, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.574e-05/0.001441, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.001441, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.001456, allocations: 0 / 0.5452 GB, free: 29.88 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.0003261/0.001782, allocations: 239 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.001818, allocations: 11.89 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.001844, allocations: 8.922 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.229e-05/0.001916, allocations: 113.8 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.001927, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.001934, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.887e-05/0.002003, allocations: 34.25 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.00201, allocations: 192 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.002017, allocations: 3.5 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.002022, allocations: 4.312 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.002044, allocations: 7.938 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.531e-05/0.002129, allocations: 65.05 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.002357, allocations: 54.58 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.002371, allocations: 4.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.002378, allocations: 4 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.002392, allocations: 34.64 kB / 0.5458 GB, free: 29.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.002393, allocations: 3.938 kB / 0.5458 GB, free: 29.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.583e-05/0.002469, allocations: 37.83 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.002489, allocations: 59.34 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.417e-05/0.002523, allocations: 106.7 kB / 0.546 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.002528, allocations: 29.7 kB / 0.546 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-06/0.002537, allocations: 88.12 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.00256, allocations: 3.953 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.002581, allocations: 17.7 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.778e-05/0.002609, allocations: 314.8 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-06/0.002615, allocations: 4 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.002621, allocations: 0 / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.002641, allocations: 20.78 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.002643, allocations: 0 / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.996e-05/0.002673, allocations: 41.69 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.002682, allocations: 4 kB / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.002687, allocations: 4 kB / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-06/0.002695, allocations: 4 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.002728, allocations: 4 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.00273, allocations: 0 / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.398e-06/0.002739, allocations: 3.938 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-06/0.002743, allocations: 2.656 kB / 0.5465 GB, free: 28.43 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.16e-05/0.002775, allocations: 117.8 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.002778, allocations: 3.938 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.002796, allocations: 11.67 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.002798, allocations: 4 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.002799, allocations: 4 kB / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.002802, allocations: 0 / 0.5466 GB, free: 28.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.912e-05/0.002841, allocations: 68.59 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.002841, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.002853, allocations: 4 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-06/0.002858, allocations: 7.953 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.002859, allocations: 0 / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.002862, allocations: 3.984 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.002862, allocations: 0 / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002863, allocations: 0 / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.927e-05/0.002902, allocations: 65.06 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.002909, allocations: 8 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-06/0.002915, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.002927, allocations: 11.88 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-07/0.002928, allocations: 0 / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.525e-06/0.002935, allocations: 12.84 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.002936, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.298e-05/0.003019, allocations: 4 kB / 0.5468 GB, free: 28.06 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 5.427e-05/0.003073, allocations: 84.41 kB / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.36e-05/0.003126, allocations: 12.86 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.00313, allocations: 8 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.003138, allocations: 17.17 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.687e-05/0.003195, allocations: 3.938 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.003354, allocations: 116.6 kB / 0.547 GB, free: 27.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.716e-05/0.003371, allocations: 51.36 kB / 0.5471 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.708e-05/0.003388, allocations: 7.984 kB / 0.5471 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.003414, allocations: 47.38 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 4.3e-07/0.003414, allocations: 0 / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01811/0.02153, allocations: 460.9 kB / 0.5476 GB, free: 27.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3863471783697605]