Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001483/0.001483, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001766/0.001766, allocations: 213.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.623/1.623, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9783/0.9783, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: IDEAS 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.002016/0.002016, allocations: 72.11 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.26, allocations: 85.9 MB / 0.7036 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.007079/0.2671, allocations: 4.145 MB / 0.7077 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.2708, allocations: 1.375 MB / 0.709 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.2715, allocations: 35.81 kB / 0.7091 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.2719, allocations: 134.6 kB / 0.7092 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.2724, allocations: 182.4 kB / 0.7094 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2735, allocations: 428.4 kB / 0.7098 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2748, allocations: 0.9477 MB / 0.7107 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005972/0.2753, allocations: 318.5 kB / 0.711 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.2758, allocations: 342.7 kB / 0.7113 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004396/0.2763, allocations: 334.3 kB / 0.7116 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.2764, allocations: 92 kB / 0.7117 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2765, allocations: 88 kB / 0.7118 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.2767, allocations: 183.4 kB / 0.712 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.2772, allocations: 390 kB / 0.7124 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2785, allocations: 1.066 MB / 0.7134 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.2786, allocations: 0 / 0.7134 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2786, allocations: 0 / 0.7134 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.2786, allocations: 7.922 kB / 0.7134 GB, free: 6.844 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002253/0.2808, allocations: 1.076 MB / 0.7145 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2809, allocations: 16.03 kB / 0.7145 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.281, allocations: 84.42 kB / 0.7146 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.2821, allocations: 0.4999 MB / 0.7151 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.2822, allocations: 53.67 kB / 0.7151 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2823, allocations: 56.33 kB / 0.7152 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2835, allocations: 0.6078 MB / 0.7157 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.2836, allocations: 3.984 kB / 0.7158 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.2836, allocations: 31.98 kB / 0.7158 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.2836, allocations: 16 kB / 0.7158 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.2847, allocations: 457 kB / 0.7162 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2879, allocations: 1.947 MB / 0.7181 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.2889, allocations: 417.7 kB / 0.7185 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.2894, allocations: 226 kB / 0.7187 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.2894, allocations: 4.438 kB / 0.7188 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.29, allocations: 261.3 kB / 0.719 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.685e-06/0.29, allocations: 0 / 0.719 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001396/0.2914, allocations: 0.5846 MB / 0.7196 GB, free: 356 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.2915, allocations: 59.84 kB / 0.7196 GB, free: 284 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.2921, allocations: 449.9 kB / 0.7201 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.2921, allocations: 37.7 kB / 0.7201 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.2925, allocations: 328.9 kB / 0.7204 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.2926, allocations: 178.5 kB / 0.7206 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.2928, allocations: 94.3 kB / 0.7207 GB, free: 15.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.293, allocations: 366.8 kB / 0.721 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.2935, allocations: 165.2 kB / 0.7212 GB, free: 14.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.2939, allocations: 254.6 kB / 0.7214 GB, free: 14.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.2948, allocations: 451 kB / 0.7219 GB, free: 13.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2948, allocations: 0 / 0.7219 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001132/0.2959, allocations: 0.5612 MB / 0.7224 GB, free: 13.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.296, allocations: 41.62 kB / 0.7224 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.296, allocations: 0 / 0.7224 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.296, allocations: 4 kB / 0.7224 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.2965, allocations: 112.1 kB / 0.7225 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.2966, allocations: 15.92 kB / 0.7226 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.2969, allocations: 59.64 kB / 0.7226 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.2969, allocations: 16 kB / 0.7226 GB, free: 13.08 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000338/0.2973, allocations: 201.8 kB / 0.7228 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.2973, allocations: 67.56 kB / 0.7229 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.2975, allocations: 73.45 kB / 0.723 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2975, allocations: 8 kB / 0.723 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2975, allocations: 0 / 0.723 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2975, allocations: 3.984 kB / 0.723 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.2995, allocations: 1.142 MB / 0.7241 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.2995, allocations: 7.984 kB / 0.7241 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.2999, allocations: 91.89 kB / 0.7242 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2999, allocations: 4 kB / 0.7242 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.3, allocations: 19.92 kB / 0.7242 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3, allocations: 3.938 kB / 0.7242 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3, allocations: 0 / 0.7242 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.3014, allocations: 0.7652 MB / 0.725 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3016, allocations: 91.58 kB / 0.725 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.3017, allocations: 8 kB / 0.7251 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.3019, allocations: 27.97 kB / 0.7251 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3021, allocations: 32.38 kB / 0.7251 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.3021, allocations: 12 kB / 0.7251 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004132/0.3025, allocations: 314.9 kB / 0.7254 GB, free: 10.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 0 / 0.7254 GB, free: 10.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004844/0.303, allocations: 147.6 kB / 0.7256 GB, free: 10.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001633/0.3031, allocations: 111.1 kB / 0.7257 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.3041, allocations: 461.2 kB / 0.7261 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3041, allocations: 4 kB / 0.7261 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.3046, allocations: 206.4 kB / 0.7263 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.3054, allocations: 157.6 kB / 0.7265 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.3084, allocations: 1.386 MB / 0.7278 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.309, allocations: 0.8938 MB / 0.7287 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3092, allocations: 43.44 kB / 0.7287 GB, free: 6.691 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.3092, allocations: 0 / 0.7287 GB, free: 6.691 MB / 0.545 GB Notification: Performance of Templates: time 0.01381/0.323, allocations: 7.674 MB / 0.7362 GB, free: 15.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.750456725014374] Failed to read output from testmodel.py, exit status != 0: 0.33150289487093687 0.34838496599999996 0.06649477100000001 Calling exit ...