Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008235/0.0008235, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.002129/0.002129, allocations: 169 kB / 24.06 MB, free: 448 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.8979/0.8979, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7643/0.7643, allocations: 154.6 MB / 415.6 MB, free: 0.543 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5215 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.499e-05, allocations: 7.969 kB / 0.5215 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001878/0.001903, allocations: 0.7238 MB / 0.5222 GB, free: 176 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.003471, allocations: 1.239 MB / 0.5234 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.003514, allocations: 0.9688 kB / 0.5234 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.003534, allocations: 7.922 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.003586, allocations: 15.45 kB / 0.5234 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.004023, allocations: 143.4 kB / 0.5236 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.004182, allocations: 115.8 kB / 0.5237 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.004236, allocations: 8 kB / 0.5237 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.994e-05/0.004336, allocations: 67.88 kB / 0.5238 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.004419, allocations: 35.94 kB / 0.5238 GB, free: 14.54 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.004438, allocations: 11.94 kB / 0.5238 GB, free: 14.53 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.004501, allocations: 36.47 kB / 0.5238 GB, free: 14.49 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.004519, allocations: 8 kB / 0.5239 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.004568, allocations: 40.45 kB / 0.5239 GB, free: 14.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004716, allocations: 92.31 kB / 0.524 GB, free: 14.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004719, allocations: 0 / 0.524 GB, free: 14.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.00472, allocations: 0.9688 kB / 0.524 GB, free: 14.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.535e-06/0.004722, allocations: 4 kB / 0.524 GB, free: 14.35 MB / 458.7 MB 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.0003821/0.005104, allocations: 423.7 kB / 0.5244 GB, free: 13.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.005132, allocations: 8.031 kB / 0.5244 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.767e-05/0.005219, allocations: 24.75 kB / 0.5244 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.949e-05/0.005289, allocations: 116.6 kB / 0.5245 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.005301, allocations: 9.062 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.005319, allocations: 8.375 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.005413, allocations: 67.48 kB / 0.5246 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-06/0.005418, allocations: 2.156 kB / 0.5246 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005427, allocations: 4.359 kB / 0.5246 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.005431, allocations: 384 / 0.5246 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.07e-05/0.005461, allocations: 15.92 kB / 0.5246 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.005779, allocations: 284.9 kB / 0.5249 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.00584, allocations: 43.7 kB / 0.5249 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.005859, allocations: 11.69 kB / 0.525 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.005869, allocations: 0.5625 kB / 0.525 GB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.722e-05/0.005966, allocations: 82.5 kB / 0.525 GB, free: 13.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005967, allocations: 0 / 0.525 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.000165/0.006132, allocations: 85.55 kB / 0.5251 GB, free: 13.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.006162, allocations: 51.41 kB / 0.5252 GB, free: 12.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.00625, allocations: 178.7 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.006271, allocations: 25.7 kB / 0.5254 GB, free: 12.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.006332, allocations: 139.7 kB / 0.5255 GB, free: 12.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.006353, allocations: 19.89 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.006417, allocations: 38.36 kB / 0.5256 GB, free: 12.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.006578, allocations: 0.4962 MB / 0.526 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.006649, allocations: 49.69 kB / 0.5261 GB, free: 12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.006739, allocations: 104.3 kB / 0.5262 GB, free: 11.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.006845, allocations: 96.42 kB / 0.5263 GB, free: 11.76 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.006846, allocations: 0 / 0.5263 GB, free: 11.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.007092, allocations: 193.5 kB / 0.5265 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.007124, allocations: 39.45 kB / 0.5265 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007128, allocations: 0 / 0.5265 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.007136, allocations: 4 kB / 0.5265 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.007197, allocations: 11.98 kB / 0.5265 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.007199, allocations: 0 / 0.5265 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.007311, allocations: 32.8 kB / 0.5265 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.007328, allocations: 8.734 kB / 0.5266 GB, free: 11.46 MB / 458.7 MB 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 9.171e-05/0.007419, allocations: 173.4 kB / 0.5267 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.007438, allocations: 11.89 kB / 0.5267 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.007553, allocations: 74.11 kB / 0.5268 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007554, allocations: 1.219 kB / 0.5268 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.007557, allocations: 4 kB / 0.5268 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.007561, allocations: 3.984 kB / 0.5268 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.007775, allocations: 298.7 kB / 0.5271 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007777, allocations: 0.6562 kB / 0.5271 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.007812, allocations: 11.98 kB / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.007815, allocations: 4.469 kB / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.007822, allocations: 7.031 kB / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.007823, allocations: 0 / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007824, allocations: 0 / 0.5271 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.007968, allocations: 219.8 kB / 0.5273 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.007979, allocations: 11.89 kB / 0.5273 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.007995, allocations: 4 kB / 0.5273 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-05/0.008056, allocations: 7.984 kB / 0.5274 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.008079, allocations: 4 kB / 0.5274 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.008086, allocations: 7.109 kB / 0.5274 GB, free: 10.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/0.008129, allocations: 127.2 kB / 0.5275 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008129, allocations: 4 kB / 0.5275 GB, free: 10.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.008396, allocations: 20 kB / 0.5275 GB, free: 10.42 MB / 458.7 MB 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.0001109/0.008507, allocations: 103.2 kB / 0.5276 GB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.008683, allocations: 152.7 kB / 0.5277 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008684, allocations: 1.812 kB / 0.5278 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.008725, allocations: 28.2 kB / 0.5278 GB, free: 10.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.008963, allocations: 20.86 kB / 0.5278 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.00938, allocations: 164.1 kB / 0.528 GB, free: 9.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.00942, allocations: 59.34 kB / 0.528 GB, free: 9.828 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.009449, allocations: 6.75 kB / 0.528 GB, free: 9.824 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.009548, allocations: 90.17 kB / 0.5281 GB, free: 9.734 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009549, allocations: 0 / 0.5281 GB, free: 9.734 MB / 458.7 MB Notification: Performance of Templates: time 0.00366/0.01321, allocations: 1.689 MB / 0.5298 GB, free: 8.148 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4736241260543466]