Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.001403/0.001403, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001545/0.001545, allocations: 211.9 kB / 22.99 MB, free: 4.945 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9054/0.9054, allocations: 134 MB / 447.2 MB, free: 10.39 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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") [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.00215/0.00215, allocations: 65.86 kB / 0.6197 GB, free: 6.457 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2137, allocations: 85.91 MB / 0.7036 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00707/0.2208, allocations: 3.884 MB / 0.7074 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004126/0.2249, allocations: 1.597 MB / 0.7089 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009532/0.2259, allocations: 47.69 kB / 0.709 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.2265, allocations: 174.1 kB / 0.7091 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.2278, allocations: 234.2 kB / 0.7094 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.2296, allocations: 0.6887 MB / 0.71 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2315, allocations: 1.23 MB / 0.7112 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.2321, allocations: 320.8 kB / 0.7115 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.2328, allocations: 489.9 kB / 0.712 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.2334, allocations: 421.5 kB / 0.7124 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.2335, allocations: 104 kB / 0.7125 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2337, allocations: 112 kB / 0.7126 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2339, allocations: 243.1 kB / 0.7128 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.2343, allocations: 385.6 kB / 0.7132 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.2357, allocations: 1.186 MB / 0.7144 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2357, allocations: 0 / 0.7144 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2357, allocations: 0 / 0.7144 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.2357, allocations: 0 / 0.7144 GB, free: 5.504 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002729/0.2384, allocations: 1.477 MB / 0.7158 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2385, allocations: 12.03 kB / 0.7158 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.2388, allocations: 140.1 kB / 0.716 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.2402, allocations: 0.7029 MB / 0.7166 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.2404, allocations: 102 kB / 0.7167 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2405, allocations: 72.38 kB / 0.7168 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2419, allocations: 0.896 MB / 0.7177 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.242, allocations: 4 kB / 0.7177 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.242, allocations: 31.92 kB / 0.7177 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.242, allocations: 20 kB / 0.7177 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.2432, allocations: 0.5165 MB / 0.7182 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.2466, allocations: 1.894 MB / 0.7201 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.248, allocations: 0.5846 MB / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.2486, allocations: 262.2 kB / 0.7209 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-05/0.2486, allocations: 4.5 kB / 0.7209 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/0.2493, allocations: 355.9 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.2493, allocations: 0 / 0.7213 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001744/0.2511, allocations: 0.7505 MB / 0.722 GB, free: 13.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.2512, allocations: 123.2 kB / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/0.2521, allocations: 0.7004 MB / 0.7228 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.2522, allocations: 37.7 kB / 0.7228 GB, free: 12.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.2526, allocations: 444.8 kB / 0.7233 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.2528, allocations: 218.1 kB / 0.7235 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.253, allocations: 118.3 kB / 0.7236 GB, free: 11.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2532, allocations: 333.9 kB / 0.7239 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.2537, allocations: 211.3 kB / 0.7241 GB, free: 11.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.2543, allocations: 364.8 kB / 0.7244 GB, free: 10.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2553, allocations: 0.5048 MB / 0.7249 GB, free: 10.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2553, allocations: 4 kB / 0.7249 GB, free: 10.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001326/0.2567, allocations: 0.6606 MB / 0.7256 GB, free: 9.633 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2567, allocations: 11.98 kB / 0.7256 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2567, allocations: 0 / 0.7256 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2567, allocations: 4.047 kB / 0.7256 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.2576, allocations: 156 kB / 0.7257 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2576, allocations: 4 kB / 0.7257 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.258, allocations: 67.58 kB / 0.7258 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.2581, allocations: 20 kB / 0.7258 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006587/0.2587, allocations: 361.4 kB / 0.7262 GB, free: 9.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005689/0.2593, allocations: 356.8 kB / 0.7265 GB, free: 8.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009609/0.2603, allocations: 496.9 kB / 0.727 GB, free: 8.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.2603, allocations: 0 / 0.727 GB, free: 8.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001204/0.2615, allocations: 0.6255 MB / 0.7276 GB, free: 7.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.2615, allocations: 12.25 kB / 0.7276 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2615, allocations: 0 / 0.7276 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.2615, allocations: 8 kB / 0.7276 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.2622, allocations: 143.8 kB / 0.7278 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2622, allocations: 15.94 kB / 0.7278 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.2626, allocations: 55.7 kB / 0.7278 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.2627, allocations: 23.94 kB / 0.7278 GB, free: 7.219 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0002374/0.2629, allocations: 228 kB / 0.7281 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.263, allocations: 91.39 kB / 0.7282 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.2632, allocations: 92.56 kB / 0.7282 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.2633, allocations: 11.98 kB / 0.7283 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2633, allocations: 0 / 0.7283 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2633, allocations: 3.938 kB / 0.7283 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.2655, allocations: 1.234 MB / 0.7295 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2655, allocations: 3.938 kB / 0.7295 GB, free: 5.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.2661, allocations: 103.9 kB / 0.7296 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.2661, allocations: 4 kB / 0.7296 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.2662, allocations: 19.94 kB / 0.7296 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2662, allocations: 0 / 0.7296 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2662, allocations: 0 / 0.7296 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.268, allocations: 0.9704 MB / 0.7305 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.2683, allocations: 143.2 kB / 0.7307 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.2684, allocations: 15.94 kB / 0.7307 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.2688, allocations: 39.95 kB / 0.7307 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.2689, allocations: 36.44 kB / 0.7308 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.269, allocations: 19.98 kB / 0.7308 GB, free: 4.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006403/0.2696, allocations: 487 kB / 0.7312 GB, free: 3.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2696, allocations: 0 / 0.7312 GB, free: 3.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007469/0.2704, allocations: 295.1 kB / 0.7315 GB, free: 3.398 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001696/0.2705, allocations: 111.2 kB / 0.7316 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.2722, allocations: 0.7613 MB / 0.7324 GB, free: 2.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2722, allocations: 3.938 kB / 0.7324 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.2728, allocations: 258.7 kB / 0.7326 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2739, allocations: 262.2 kB / 0.7329 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.2768, allocations: 1.603 MB / 0.7344 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.2772, allocations: 405.7 kB / 0.7348 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.2774, allocations: 63.42 kB / 0.7349 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2774, allocations: 0 / 0.7349 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.01821/0.2957, allocations: 11.36 MB / 0.746 GB, free: 4.617 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.943916299846023] Failed to read output from testmodel.py, exit status != 0: 0.30416402872651815 0.70626208 0.46725257099999995 Calling exit ...