Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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.001518/0.001518, allocations: 102.1 kB / 19.7 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.001968/0.001968, allocations: 219.8 kB / 23.01 MB, free: 4.609 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.928/0.928, allocations: 134 MB / 447.2 MB, free: 10.27 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") [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.002175/0.002175, allocations: 65.52 kB / 0.6197 GB, free: 6.938 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2544, allocations: 85.9 MB / 0.7036 GB, free: 1.113 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.00573/0.2602, allocations: 3.751 MB / 0.7073 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.2633, allocations: 1.383 MB / 0.7086 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/0.2637, allocations: 35.69 kB / 0.7087 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.2641, allocations: 130.6 kB / 0.7088 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005972/0.2647, allocations: 174.6 kB / 0.709 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.2661, allocations: 0.5969 MB / 0.7095 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.2673, allocations: 0.9604 MB / 0.7105 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004989/0.2678, allocations: 250.1 kB / 0.7107 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.2683, allocations: 374.4 kB / 0.7111 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004694/0.2688, allocations: 362 kB / 0.7114 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2689, allocations: 80 kB / 0.7115 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.269, allocations: 80 kB / 0.7116 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.2692, allocations: 191.3 kB / 0.7118 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.2696, allocations: 381.7 kB / 0.7121 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2707, allocations: 0.8945 MB / 0.713 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.2707, allocations: 7.922 kB / 0.713 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2707, allocations: 3.938 kB / 0.713 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.2707, allocations: 0 / 0.713 GB, free: 7.461 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002356/0.273, allocations: 1.131 MB / 0.7141 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.2731, allocations: 8.031 kB / 0.7141 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.2733, allocations: 100.3 kB / 0.7142 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2745, allocations: 0.5622 MB / 0.7148 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2747, allocations: 144.4 kB / 0.7149 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.2748, allocations: 64.31 kB / 0.715 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2759, allocations: 0.6128 MB / 0.7156 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.276, allocations: 0 / 0.7156 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.276, allocations: 23.94 kB / 0.7156 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.276, allocations: 16 kB / 0.7156 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.277, allocations: 427.7 kB / 0.716 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.2801, allocations: 2.052 MB / 0.718 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2814, allocations: 487 kB / 0.7185 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2819, allocations: 208.8 kB / 0.7187 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.2819, allocations: 4 kB / 0.7187 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006858/0.2826, allocations: 281.9 kB / 0.7189 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.484e-06/0.2826, allocations: 4 kB / 0.719 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001546/0.2841, allocations: 0.6194 MB / 0.7196 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.2842, allocations: 122.5 kB / 0.7197 GB, free: 364 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.2851, allocations: 0.6101 MB / 0.7203 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.2851, allocations: 34.8 kB / 0.7203 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.2855, allocations: 365.3 kB / 0.7207 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.2856, allocations: 166.5 kB / 0.7208 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2858, allocations: 94.33 kB / 0.7209 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.286, allocations: 326 kB / 0.7212 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.2864, allocations: 187.4 kB / 0.7214 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.2869, allocations: 290 kB / 0.7217 GB, free: 14.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.2879, allocations: 473.9 kB / 0.7221 GB, free: 13.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2879, allocations: 3.938 kB / 0.7221 GB, free: 13.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001276/0.2892, allocations: 0.6066 MB / 0.7227 GB, free: 13.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.2892, allocations: 41.58 kB / 0.7228 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.2892, allocations: 0 / 0.7228 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.2893, allocations: 8 kB / 0.7228 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.2898, allocations: 103.9 kB / 0.7229 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2898, allocations: 7.938 kB / 0.7229 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.2902, allocations: 75.7 kB / 0.7229 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.2903, allocations: 24 kB / 0.723 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000609/0.2909, allocations: 309.3 kB / 0.7233 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000506/0.2914, allocations: 286 kB / 0.7235 GB, free: 12.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008705/0.2922, allocations: 450 kB / 0.724 GB, free: 11.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.734e-06/0.2923, allocations: 7.938 kB / 0.724 GB, free: 11.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001125/0.2934, allocations: 0.5791 MB / 0.7245 GB, free: 11.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.2934, allocations: 34.02 kB / 0.7246 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2934, allocations: 4 kB / 0.7246 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2934, allocations: 8 kB / 0.7246 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.2939, allocations: 103.8 kB / 0.7247 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2939, allocations: 4 kB / 0.7247 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.2943, allocations: 59.69 kB / 0.7247 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2943, allocations: 20 kB / 0.7248 GB, free: 10.92 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002439/0.2946, allocations: 218.2 kB / 0.725 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.2947, allocations: 79.48 kB / 0.725 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.2948, allocations: 83.2 kB / 0.7251 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2949, allocations: 4 kB / 0.7251 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2949, allocations: 0 / 0.7251 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2949, allocations: 0 / 0.7251 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007937/0.2957, allocations: 0.6053 MB / 0.7257 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2957, allocations: 0 / 0.7257 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.2961, allocations: 87.88 kB / 0.7258 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.2962, allocations: 4 kB / 0.7258 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.2962, allocations: 8 kB / 0.7258 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2962, allocations: 4 kB / 0.7258 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2962, allocations: 3.938 kB / 0.7258 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.2978, allocations: 0.7436 MB / 0.7265 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.298, allocations: 111.5 kB / 0.7267 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.2981, allocations: 15.98 kB / 0.7267 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.2985, allocations: 35.95 kB / 0.7267 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.2986, allocations: 35.89 kB / 0.7267 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.2987, allocations: 15.98 kB / 0.7268 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000544/0.2992, allocations: 435 kB / 0.7272 GB, free: 8.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2992, allocations: 0 / 0.7272 GB, free: 8.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006265/0.2998, allocations: 215.5 kB / 0.7274 GB, free: 8.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001685/0.3, allocations: 111.2 kB / 0.7275 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.3016, allocations: 0.7542 MB / 0.7282 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3016, allocations: 4.062 kB / 0.7282 GB, free: 7.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.3021, allocations: 211.8 kB / 0.7284 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.303, allocations: 215.2 kB / 0.7286 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3054, allocations: 1.219 MB / 0.7298 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.3061, allocations: 0.9216 MB / 0.7307 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.3063, allocations: 55.42 kB / 0.7308 GB, free: 4.613 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.3063, allocations: 0 / 0.7308 GB, free: 4.613 MB / 0.545 GB Notification: Performance of Templates: time 0.01453/0.3208, allocations: 8.808 MB / 0.7394 GB, free: 11.87 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.22664201585576] Failed to read output from testmodel.py, exit status != 0: 0.32963043404743075 0.808756538 0.533158626 Calling exit ...