Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001835/0.001835, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002114/0.002114, allocations: 214.5 kB / 22.25 MB, free: 5.133 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.345/1.345, allocations: 203.8 MB / 0.5041 GB, free: 4.957 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.002127/0.002127, allocations: 63.91 kB / 0.7187 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5557, allocations: 102 MB / 0.8183 GB, free: 29.19 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001976/0.5577, allocations: 0.7258 MB / 0.819 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.5592, allocations: 1.239 MB / 0.8202 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.5592, allocations: 2.656 kB / 0.8202 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.5593, allocations: 4.641 kB / 0.8202 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.601e-05/0.5593, allocations: 7 kB / 0.8202 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.5599, allocations: 149.2 kB / 0.8204 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.5601, allocations: 122.8 kB / 0.8205 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.5602, allocations: 11.27 kB / 0.8205 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.5603, allocations: 51.27 kB / 0.8206 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5604, allocations: 41.75 kB / 0.8206 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.5604, allocations: 11.62 kB / 0.8206 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.5605, allocations: 31.28 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.5605, allocations: 13.83 kB / 0.8207 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.5606, allocations: 38 kB / 0.8207 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.5608, allocations: 120.4 kB / 0.8208 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5608, allocations: 0 / 0.8208 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5608, allocations: 3.938 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.5608, allocations: 1.5 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005523/0.5614, allocations: 336.5 kB / 0.8211 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5614, allocations: 11.91 kB / 0.8211 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.5615, allocations: 11.88 kB / 0.8212 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.5616, allocations: 111.5 kB / 0.8213 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5616, allocations: 9.047 kB / 0.8213 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.5616, allocations: 6.688 kB / 0.8213 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.5619, allocations: 65.78 kB / 0.8213 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5619, allocations: 192 / 0.8213 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5619, allocations: 9.734 kB / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5619, allocations: 6.375 kB / 0.8214 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.5621, allocations: 41.98 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.5626, allocations: 299.5 kB / 0.8217 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.5627, allocations: 46.2 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5628, allocations: 31.16 kB / 0.8218 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.5629, allocations: 2.156 kB / 0.8218 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.5631, allocations: 96.7 kB / 0.8218 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.5631, allocations: 0 / 0.8218 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004797/0.5636, allocations: 134.2 kB / 0.822 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5636, allocations: 58.53 kB / 0.822 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.097e-05/0.5637, allocations: 112.9 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.5637, allocations: 32.8 kB / 0.8222 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.5638, allocations: 96.72 kB / 0.8223 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.5638, allocations: 20.45 kB / 0.8223 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.5639, allocations: 37.16 kB / 0.8223 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.5639, allocations: 322 kB / 0.8226 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5641, allocations: 54.89 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5643, allocations: 72.47 kB / 0.8227 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.5646, allocations: 134.3 kB / 0.8229 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5646, allocations: 0.5 kB / 0.8229 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004469/0.565, allocations: 196.5 kB / 0.8231 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.5651, allocations: 34.45 kB / 0.8231 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5651, allocations: 1.469 kB / 0.8231 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5651, allocations: 4.719 kB / 0.8231 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.5652, allocations: 20.19 kB / 0.8231 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5652, allocations: 2.984 kB / 0.8231 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.5654, allocations: 29.48 kB / 0.8232 GB, free: 25.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.5654, allocations: 7.312 kB / 0.8232 GB, free: 25.69 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.226e-05/0.5655, allocations: 130.1 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.5655, allocations: 6.703 kB / 0.8233 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.5658, allocations: 121.3 kB / 0.8234 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5658, allocations: 1.375 kB / 0.8234 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5658, allocations: 3.938 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5658, allocations: 0.75 kB / 0.8234 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.5661, allocations: 337.5 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5662, allocations: 1.406 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.5662, allocations: 8.766 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5662, allocations: 1.25 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.5662, allocations: 2.234 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5662, allocations: 0.6562 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5662, allocations: 7.938 kB / 0.8238 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.5665, allocations: 215.3 kB / 0.824 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.5665, allocations: 7.391 kB / 0.824 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5665, allocations: 1.906 kB / 0.824 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.5666, allocations: 6.531 kB / 0.824 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.5667, allocations: 14.2 kB / 0.824 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5667, allocations: 2.109 kB / 0.824 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.5667, allocations: 89.52 kB / 0.8241 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5667, allocations: 0 / 0.8241 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002682/0.567, allocations: 23.81 kB / 0.8241 GB, free: 24.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001193/0.5671, allocations: 101.7 kB / 0.8242 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003552/0.5675, allocations: 151.5 kB / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5675, allocations: 0 / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5676, allocations: 35.25 kB / 0.8244 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5679, allocations: 17.64 kB / 0.8244 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.5682, allocations: 164.8 kB / 0.8245 GB, free: 24.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.5683, allocations: 0.6895 MB / 0.8252 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.5683, allocations: 4.094 kB / 0.8252 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.5683, allocations: 12.56 kB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.5683, allocations: 4 kB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.004748/0.5731, allocations: 1.428 MB / 0.8266 GB, free: 23.75 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.788595100864768] Failed to read output from testmodel.py, exit status != 0: 0.5820808727294207 0.605486266 0.040075197 Calling exit ...