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.0006797/0.0006797, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009161/0.001596, 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.000694/0.000694, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009131/0.001607, 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.9752/0.9752, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09167/1.067, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.8266/0.8266, allocations: 291.1 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0244/0.851, 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.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.743e-06/1.743e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.219e-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.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins): time 0.001439/0.001451, allocations: 0.6698 MB / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.018e-05/0.001481, allocations: 11.92 kB / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.001499, allocations: 0 / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-06/0.001504, allocations: 0 / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.171e-05/0.001516, allocations: 3.938 kB / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-05/0.001542, allocations: 7.984 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.001592, allocations: 11.94 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.001632, allocations: 7.109 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.001687, allocations: 12 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.001735, allocations: 3.984 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.001756, allocations: 4 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.001762, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.001774, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.001793, allocations: 7.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.701e-05/0.00185, allocations: 7.984 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.629e-05/0.001867, allocations: 0 / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001867, allocations: 0 / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.001882, allocations: 0 / 0.5451 GB, free: 29.92 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.0003394/0.002222, allocations: 231.1 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.002255, allocations: 11.89 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.002283, allocations: 8.938 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.676e-05/0.002349, allocations: 121.6 kB / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.002363, allocations: 384 / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.00237, allocations: 384 / 0.5455 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.738e-05/0.002438, allocations: 34.25 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002445, allocations: 192 / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-06/0.002451, allocations: 384 / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.002457, allocations: 384 / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.002478, allocations: 7.938 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.575e-05/0.002564, allocations: 61.05 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.002852, allocations: 62.5 kB / 0.5456 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.002868, allocations: 8.859 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.002876, allocations: 0 / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.002895, allocations: 34.56 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.002896, allocations: 0 / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001043/0.003, allocations: 41.91 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.003026, allocations: 63.34 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.982e-05/0.003066, allocations: 102.3 kB / 0.5459 GB, free: 29.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.003072, allocations: 25.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-06/0.003081, allocations: 88.11 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.003103, allocations: 7.953 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.003134, allocations: 13.72 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.151e-05/0.003166, allocations: 318.8 kB / 0.5463 GB, free: 28.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.003174, allocations: 4 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.003183, allocations: 3.984 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.003212, allocations: 24.83 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003215, allocations: 0 / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.976e-05/0.003264, allocations: 41.62 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.003276, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.00328, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.00329, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.003332, allocations: 8 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.003335, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.003351, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.003354, allocations: 0 / 0.5464 GB, free: 28.46 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.328e-05/0.003387, allocations: 113.8 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.003395, allocations: 3.984 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.003415, allocations: 7.688 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003417, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003418, allocations: 4 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003421, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.259e-05/0.003474, allocations: 65.84 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.003475, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.003498, allocations: 11.98 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.003505, allocations: 7.953 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.003506, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.00351, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.003512, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.003513, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.595e-05/0.003569, allocations: 73 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.003577, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.249e-05/0.00359, allocations: 3.938 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.003601, allocations: 4 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.003604, allocations: 3.062 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.003616, allocations: 20.83 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003616, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000171/0.003787, 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 6.87e-05/0.003856, allocations: 80.42 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.003918, allocations: 24.78 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.003922, allocations: 0 / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.003931, allocations: 8.859 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.975e-05/0.004001, allocations: 11.88 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.004197, allocations: 142.6 kB / 0.5469 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.004227, allocations: 63.34 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.004259, allocations: 51.38 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004259, allocations: 0 / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.001299/0.005558, allocations: 0.4929 MB / 0.5475 GB, free: 27.18 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BJ01_Exenatide.Exenatide_Li2012_PD_ins.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.027871428988874]