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.001533/0.001533, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00182/0.00182, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.797 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.8761/0.8761, allocations: 134 MB / 446.4 MB, free: 9.945 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.002552/0.002552, allocations: 66.38 kB / 0.6189 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2221, allocations: 85.91 MB / 0.7028 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005829/0.228, allocations: 3.362 MB / 0.7061 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003384/0.2313, allocations: 1.325 MB / 0.7074 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.2319, allocations: 43.62 kB / 0.7074 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.2323, allocations: 126.7 kB / 0.7076 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008701/0.2332, allocations: 174.6 kB / 0.7077 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.235, allocations: 0.5908 MB / 0.7083 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2365, allocations: 0.9604 MB / 0.7093 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000566/0.2371, allocations: 230.2 kB / 0.7095 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005981/0.2377, allocations: 378.4 kB / 0.7098 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.2381, allocations: 326 kB / 0.7101 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.2383, allocations: 84 kB / 0.7102 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.2384, allocations: 80 kB / 0.7103 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.2387, allocations: 183.3 kB / 0.7105 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003684/0.239, allocations: 302.2 kB / 0.7108 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.2405, allocations: 0.9061 MB / 0.7116 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.2405, allocations: 0 / 0.7116 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2405, allocations: 0 / 0.7116 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.2405, allocations: 0 / 0.7116 GB, free: 7.52 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.002729/0.2433, allocations: 1.139 MB / 0.7128 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.625e-05/0.2433, allocations: 8.031 kB / 0.7128 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.2435, allocations: 100.3 kB / 0.7129 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.2449, allocations: 0.5622 MB / 0.7134 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.2451, allocations: 144.4 kB / 0.7135 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.2452, allocations: 64.31 kB / 0.7136 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.2465, allocations: 0.7595 MB / 0.7144 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2465, allocations: 0 / 0.7144 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.2466, allocations: 24 kB / 0.7144 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.2466, allocations: 12 kB / 0.7144 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2476, allocations: 431.6 kB / 0.7148 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.2504, allocations: 1.815 MB / 0.7166 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2516, allocations: 487.5 kB / 0.717 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.2521, allocations: 204.7 kB / 0.7172 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.2522, allocations: 11.94 kB / 0.7172 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007107/0.2529, allocations: 337.3 kB / 0.7176 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.2529, allocations: 0 / 0.7176 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45): time 0.001549/0.2544, allocations: 0.6117 MB / 0.7182 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2545, allocations: 122.5 kB / 0.7183 GB, free: 428 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.2553, allocations: 0.5747 MB / 0.7188 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.2554, allocations: 37.7 kB / 0.7189 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.2557, allocations: 365 kB / 0.7192 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.2559, allocations: 162.6 kB / 0.7194 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.256, allocations: 94.33 kB / 0.7195 GB, free: 15.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.2562, allocations: 382.8 kB / 0.7198 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.2568, allocations: 213.1 kB / 0.72 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.2574, allocations: 363.2 kB / 0.7204 GB, free: 14.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.2583, allocations: 485.9 kB / 0.7208 GB, free: 13.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2584, allocations: 0 / 0.7208 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00132/0.2597, allocations: 0.6354 MB / 0.7215 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.2597, allocations: 33.7 kB / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2597, allocations: 320 / 0.7215 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.2598, allocations: 12 kB / 0.7215 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.2603, allocations: 107.8 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.2603, allocations: 7.938 kB / 0.7216 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.2607, allocations: 63.64 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.2607, allocations: 16 kB / 0.7217 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000637/0.2613, allocations: 353 kB / 0.722 GB, free: 12.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005365/0.2619, allocations: 351.2 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008684/0.2628, allocations: 455 kB / 0.7228 GB, free: 11.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.2628, allocations: 4 kB / 0.7228 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001153/0.2639, allocations: 0.612 MB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.2639, allocations: 33.7 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2639, allocations: 7.984 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.264, allocations: 4 kB / 0.7234 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.2644, allocations: 103.8 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.2644, allocations: 8.312 kB / 0.7236 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.2648, allocations: 59.7 kB / 0.7236 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.2648, allocations: 16 kB / 0.7236 GB, free: 10.65 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.0002558/0.2651, allocations: 216.1 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.2652, allocations: 75.47 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.2654, allocations: 70.77 kB / 0.724 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2654, allocations: 7.984 kB / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.2654, allocations: 0 / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.2654, allocations: 8 kB / 0.724 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.266, allocations: 460.8 kB / 0.7244 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.266, allocations: 0 / 0.7244 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.2665, allocations: 87.83 kB / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2665, allocations: 0 / 0.7245 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.2665, allocations: 11.98 kB / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2665, allocations: 0 / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2665, allocations: 0 / 0.7245 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2681, allocations: 0.7358 MB / 0.7252 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2684, allocations: 123.3 kB / 0.7254 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.593e-05/0.2685, allocations: 12 kB / 0.7254 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.2689, allocations: 43.95 kB / 0.7254 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.269, allocations: 31.94 kB / 0.7254 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.269, allocations: 15.98 kB / 0.7255 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005284/0.2695, allocations: 399.1 kB / 0.7258 GB, free: 8.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2695, allocations: 0 / 0.7258 GB, free: 8.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006379/0.2702, allocations: 223.4 kB / 0.726 GB, free: 8.109 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.0001638/0.2703, allocations: 115.2 kB / 0.7262 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.272, allocations: 0.8122 MB / 0.727 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2721, allocations: 0 / 0.727 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.2725, allocations: 211.8 kB / 0.7272 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009428/0.2735, allocations: 197.6 kB / 0.7273 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.2758, allocations: 1.19 MB / 0.7285 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2761, allocations: 330.5 kB / 0.7288 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003953/0.2765, allocations: 88.95 kB / 0.7289 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2767, allocations: 51.44 kB / 0.729 GB, free: 5.035 MB / 0.545 GB Notification: Performance of SimCode: time 8.71e-07/0.2767, allocations: 0 / 0.729 GB, free: 5.035 MB / 0.545 GB Notification: Performance of Templates: time 0.01724/0.2939, allocations: 8.666 MB / 0.7374 GB, free: 12.55 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: 6.8570222184062] Failed to read output from testmodel.py, exit status != 0: 0.30358580127358437 0.734159111 0.07484426100000001 Calling exit ...