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.0008927/0.0008927, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001655/0.001655, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9725/0.9725, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7857/0.7857, allocations: 154.9 MB / 415.9 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.5219 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.271e-05, allocations: 2.859 kB / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001467/0.00149, allocations: 0.7222 MB / 0.5226 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002613, allocations: 1.238 MB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.002656, allocations: 4 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.002683, allocations: 3.938 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.002746, allocations: 15.84 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.003102, allocations: 152.9 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003235, allocations: 117.7 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.003305, allocations: 4 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.003398, allocations: 63.94 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.003472, allocations: 43.86 kB / 0.5242 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.003493, allocations: 12 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.003547, allocations: 24.97 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003565, allocations: 7.984 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.003606, allocations: 39.89 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.00375, allocations: 104.5 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003752, allocations: 0 / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003753, allocations: 1.125 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003756, allocations: 0 / 0.5243 GB, free: 15.04 MB / 0.4948 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.000417/0.004173, allocations: 422.1 kB / 0.5247 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.004207, allocations: 13.47 kB / 0.5248 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.004294, allocations: 16.89 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.004373, allocations: 124.5 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.004385, allocations: 4.375 kB / 0.5249 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.004399, allocations: 5.156 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.004498, allocations: 63.72 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.004504, allocations: 192 / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.004511, allocations: 384 / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004515, allocations: 7.312 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.004544, allocations: 15.86 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.004836, allocations: 284.3 kB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.766e-05/0.004894, allocations: 31.06 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.004911, allocations: 15.77 kB / 0.5253 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.004923, allocations: 3.938 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/0.005, allocations: 81.55 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.005001, allocations: 0.75 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001429/0.005144, allocations: 81.61 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.005172, allocations: 64.19 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.005236, allocations: 173.8 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.005252, allocations: 30.67 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.005298, allocations: 134.9 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.005314, allocations: 16.84 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.005359, allocations: 43.34 kB / 0.5259 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.005458, allocations: 496.1 kB / 0.5264 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.634e-05/0.005504, allocations: 54.19 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.005565, allocations: 101.2 kB / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.005639, allocations: 105.4 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005641, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001652/0.005806, allocations: 194.2 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.00583, allocations: 43.91 kB / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005835, allocations: 4.625 kB / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-06/0.005841, allocations: 0 / 0.5269 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.005891, allocations: 13.42 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005895, allocations: 4 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.005975, allocations: 28.38 kB / 0.5269 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.005987, allocations: 9.094 kB / 0.5269 GB, free: 12.14 MB / 0.4948 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 6.853e-05/0.006056, allocations: 166.9 kB / 0.5271 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.006066, allocations: 9.156 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.006163, allocations: 86.02 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.006165, allocations: 4 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006166, allocations: 1 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006169, allocations: 0 / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.006322, allocations: 303.1 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006324, allocations: 0 / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.00635, allocations: 11.92 kB / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006352, allocations: 4.562 kB / 0.5275 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.006357, allocations: 5.406 kB / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006358, allocations: 0 / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006359, allocations: 0 / 0.5275 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.57e-05/0.006454, allocations: 223.9 kB / 0.5277 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.006461, allocations: 8.516 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.006472, allocations: 4 kB / 0.5277 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.00651, allocations: 1.125 kB / 0.5277 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.006533, allocations: 7.984 kB / 0.5277 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.006538, allocations: 4 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.006571, allocations: 138 kB / 0.5278 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006571, allocations: 3.938 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001626/0.006734, allocations: 23.94 kB / 0.5279 GB, free: 11.1 MB / 0.4948 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 7.903e-05/0.006813, allocations: 107.2 kB / 0.528 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.006949, allocations: 152.7 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.00695, allocations: 2.531 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.006978, allocations: 23.67 kB / 0.5281 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.007149, allocations: 15.98 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.007508, allocations: 163.6 kB / 0.5283 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.00754, allocations: 63.28 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.007563, allocations: 5.969 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.007638, allocations: 86.19 kB / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.007639, allocations: 0 / 0.5285 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002811/0.01045, allocations: 1.695 MB / 0.5301 GB, free: 8.812 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.738964179996401]