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.001737/0.001737, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001888/0.001888, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.531 MB / 186.7 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-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 1.402/1.402, allocations: 154.8 MB / 414.3 MB, free: 468 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 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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5198 GB, free: 2.359 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.013e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.355 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001953/0.001983, allocations: 0.7158 MB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.003968, allocations: 1.219 MB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.004004, allocations: 0 / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.004025, allocations: 7.922 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.004085, allocations: 16.64 kB / 0.5217 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.004509, allocations: 144.9 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.00468, allocations: 111.8 kB / 0.522 GB, free: 160 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.004735, allocations: 17.17 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.004861, allocations: 63.94 kB / 0.5221 GB, free: 80 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.004949, allocations: 39.88 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.004979, allocations: 12.5 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.005046, allocations: 27.92 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.005081, allocations: 5.109 kB / 0.5222 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.00515, allocations: 43.81 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.005367, allocations: 132.8 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00537, allocations: 0 / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.005371, allocations: 0 / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.005377, allocations: 4 kB / 0.5223 GB, free: 15.82 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.0005707/0.005948, allocations: 426.4 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.005976, allocations: 9.656 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.006077, allocations: 20.81 kB / 0.5228 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.006324, allocations: 120.6 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.006337, allocations: 4.375 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.006359, allocations: 10.19 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.00651, allocations: 58.23 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.006516, allocations: 192 / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.006523, allocations: 4.312 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.006526, allocations: 384 / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.006657, allocations: 41.66 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.007105, allocations: 307.7 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.007235, allocations: 47.8 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.007313, allocations: 31.7 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.007327, allocations: 1.406 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.007506, allocations: 92.98 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.007507, allocations: 4 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000364/0.007871, allocations: 123 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.007918, allocations: 59.33 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.008065, allocations: 183.3 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.008097, allocations: 29.7 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.008192, allocations: 134.9 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.008218, allocations: 19.89 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.008305, allocations: 45.89 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.008586, allocations: 496.1 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.008758, allocations: 81.67 kB / 0.5246 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.008956, allocations: 128.4 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.009198, allocations: 132.9 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0092, allocations: 0.5625 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000483/0.009683, allocations: 249.7 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.009725, allocations: 33.7 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.009731, allocations: 9.453 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.009744, allocations: 4 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.009821, allocations: 8 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.009825, allocations: 0.9375 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.009992, allocations: 35.86 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.01001, allocations: 11.25 kB / 0.5252 GB, free: 12.65 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 0.0001302/0.01014, allocations: 160.6 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.01017, allocations: 11.92 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.01042, allocations: 106 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01042, allocations: 0 / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01043, allocations: 4 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01043, allocations: 0 / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01088, allocations: 356.4 kB / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01088, allocations: 0 / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.01093, allocations: 7.938 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01093, allocations: 96 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.01094, allocations: 11.97 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01094, allocations: 0 / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01094, allocations: 0 / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.01126, allocations: 245.3 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.01127, allocations: 11.94 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01129, allocations: 4 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.01136, allocations: 4.5 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.01141, allocations: 7.984 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01142, allocations: 2.312 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.275e-05/0.01151, allocations: 139.1 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01151, allocations: 0 / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002448/0.01175, allocations: 24 kB / 0.5262 GB, free: 11.51 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 0.0001487/0.0119, allocations: 102.4 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.01229, allocations: 216.6 kB / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01229, allocations: 0 / 0.5265 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.0124, allocations: 35.67 kB / 0.5265 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.01265, allocations: 21.86 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01301, allocations: 163.9 kB / 0.5267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.01309, allocations: 76.25 kB / 0.5268 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.01312, allocations: 7.984 kB / 0.5268 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.01315, allocations: 13.44 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.01315, allocations: 0 / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.004708/0.01786, allocations: 1.523 MB / 0.5283 GB, free: 9.383 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: 6.08812187903095]