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.001388/0.001388, 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.001628/0.001628, allocations: 217 kB / 22.25 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.812 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.261/1.261, allocations: 203.8 MB / 0.5041 GB, free: 4.676 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.002243/0.002243, allocations: 59.91 kB / 0.7186 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6571, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002155/0.6592, allocations: 0.716 MB / 0.8189 GB, free: 28.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.6609, allocations: 1.208 MB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.6609, allocations: 1.125 kB / 0.8201 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.6609, allocations: 5.484 kB / 0.8201 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.661, allocations: 14.81 kB / 0.8201 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.6616, allocations: 149.2 kB / 0.8203 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.6618, allocations: 120.8 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.6619, allocations: 10.22 kB / 0.8204 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.662, allocations: 56.67 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.6621, allocations: 33.83 kB / 0.8205 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.6621, allocations: 11.34 kB / 0.8205 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.6622, allocations: 29.84 kB / 0.8205 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.6622, allocations: 13.09 kB / 0.8205 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.6623, allocations: 37.44 kB / 0.8206 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.6625, allocations: 117.6 kB / 0.8207 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6625, allocations: 0.5 kB / 0.8207 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6625, allocations: 4.531 kB / 0.8207 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6625, allocations: 1.938 kB / 0.8207 GB, free: 27.34 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.0006059/0.6631, allocations: 331.8 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6632, allocations: 11.53 kB / 0.821 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.6633, allocations: 15.62 kB / 0.821 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.285e-05/0.6634, allocations: 115.9 kB / 0.8212 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.6634, allocations: 4.656 kB / 0.8212 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.6634, allocations: 7.266 kB / 0.8212 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.6636, allocations: 65.91 kB / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6636, allocations: 192 / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6636, allocations: 5.906 kB / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6636, allocations: 1.062 kB / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.6638, allocations: 47.42 kB / 0.8213 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.6643, allocations: 249.6 kB / 0.8215 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.6644, allocations: 49.11 kB / 0.8216 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.6645, allocations: 27.03 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.6645, allocations: 3.234 kB / 0.8216 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.6648, allocations: 91.73 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.6648, allocations: 0 / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000523/0.6653, allocations: 136.9 kB / 0.8218 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6653, allocations: 58.27 kB / 0.8219 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.6654, allocations: 110.8 kB / 0.822 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6655, allocations: 32.52 kB / 0.822 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.6655, allocations: 98.77 kB / 0.8221 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.6655, allocations: 19.75 kB / 0.8221 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.6656, allocations: 36.92 kB / 0.8222 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.6657, allocations: 323 kB / 0.8225 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.6659, allocations: 77.03 kB / 0.8225 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.666, allocations: 114.1 kB / 0.8226 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.6663, allocations: 130.4 kB / 0.8228 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6663, allocations: 0.5938 kB / 0.8228 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004596/0.6668, allocations: 240.1 kB / 0.823 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6668, allocations: 38.72 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6668, allocations: 1.828 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6668, allocations: 1.25 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.6669, allocations: 15.73 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6669, allocations: 2.5 kB / 0.8231 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.6672, allocations: 29.73 kB / 0.8231 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.6672, allocations: 7.672 kB / 0.8231 GB, free: 25.4 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.659e-05/0.6673, allocations: 130 kB / 0.8232 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.6673, allocations: 6.516 kB / 0.8232 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.6676, allocations: 118.5 kB / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6676, allocations: 1.531 kB / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6676, allocations: 0 / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6676, allocations: 0.7969 kB / 0.8233 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.6679, allocations: 310.2 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6679, allocations: 0 / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.668, allocations: 8.578 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.668, allocations: 1.156 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.668, allocations: 1.906 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.668, allocations: 1.969 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.668, allocations: 480 / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.6683, allocations: 214.9 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.6683, allocations: 7.375 kB / 0.8239 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.6683, allocations: 2.781 kB / 0.8239 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.6684, allocations: 9.141 kB / 0.8239 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.6684, allocations: 6.578 kB / 0.8239 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6685, allocations: 5.953 kB / 0.8239 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.6685, allocations: 90.02 kB / 0.824 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6685, allocations: 4.062 kB / 0.824 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002574/0.6687, allocations: 24.2 kB / 0.824 GB, free: 24.69 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.0001149/0.6689, allocations: 106 kB / 0.8241 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.6692, allocations: 183 kB / 0.8243 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6692, allocations: 4.906 kB / 0.8243 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.6694, allocations: 30.7 kB / 0.8243 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.6696, allocations: 17.5 kB / 0.8243 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.67, allocations: 167.7 kB / 0.8245 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.67, allocations: 69.05 kB / 0.8245 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.6701, allocations: 8.828 kB / 0.8246 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.6701, allocations: 11.81 kB / 0.8246 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.6701, allocations: 0 / 0.8246 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.005023/0.6751, allocations: 1.548 MB / 0.8261 GB, free: 24.07 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.84598102979362] Failed to read output from testmodel.py, exit status != 0: 0.684029970318079 0.696394908 0.031049087000000003 Calling exit ...