Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001673, allocations: 193.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.6 MB / 0.5089 GB, free: 3.32 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6243/0.6257, allocations: 104.7 MB / 0.724 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.003453/0.6292, allocations: 1.443 MB / 0.7254 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000677/0.63, allocations: 244.2 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.63, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.6301, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.6302, allocations: 11.91 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.6305, allocations: 27.98 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.6306, allocations: 75.75 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.6308, allocations: 7.938 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.6309, allocations: 35.91 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.134e-05/0.631, allocations: 31.91 kB / 0.7258 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.631, allocations: 8 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.631, allocations: 4 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.6311, allocations: 15.97 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.6311, allocations: 31.84 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.6313, allocations: 57.81 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6313, allocations: 0 / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6313, allocations: 3.938 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6313, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 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.000631/0.6319, allocations: 375.3 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.632, allocations: 8.031 kB / 0.7263 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.632, allocations: 12.78 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.6322, allocations: 176.3 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.6322, allocations: 8.312 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.6322, allocations: 4.375 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.6325, allocations: 74.2 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6325, allocations: 4.172 kB / 0.7266 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.6325, allocations: 7.938 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6325, allocations: 0 / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.6327, allocations: 43.97 kB / 0.7266 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.6332, allocations: 280.8 kB / 0.7269 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.6334, allocations: 78.42 kB / 0.727 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.6335, allocations: 36.97 kB / 0.727 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.6335, allocations: 4 kB / 0.727 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.6338, allocations: 95.34 kB / 0.7271 GB, free: 9.723 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.6338, allocations: 0 / 0.7271 GB, free: 9.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.00053/0.6343, allocations: 173.5 kB / 0.7273 GB, free: 9.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6344, allocations: 51.41 kB / 0.7273 GB, free: 9.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.6345, allocations: 121.8 kB / 0.7274 GB, free: 9.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6345, allocations: 29.7 kB / 0.7275 GB, free: 9.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.6346, allocations: 88.12 kB / 0.7275 GB, free: 9.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.6346, allocations: 19.88 kB / 0.7276 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.6347, allocations: 29.7 kB / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6348, allocations: 310.8 kB / 0.7279 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.6349, allocations: 27.98 kB / 0.7279 GB, free: 8.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.635, allocations: 49.69 kB / 0.728 GB, free: 8.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.6352, allocations: 69.95 kB / 0.728 GB, free: 8.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6352, allocations: 3.938 kB / 0.728 GB, free: 8.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002513/0.6355, allocations: 109.4 kB / 0.7281 GB, free: 8.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6355, allocations: 4 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6355, allocations: 4 kB / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.6355, allocations: 0 / 0.7281 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6356, allocations: 12.03 kB / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6357, allocations: 4 kB / 0.7282 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.6357, allocations: 19.83 kB / 0.7282 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.6357, allocations: 4 kB / 0.7282 GB, free: 8.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.755e-05/0.6359, allocations: 121.8 kB / 0.7283 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.6359, allocations: 4 kB / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.6359, allocations: 12.31 kB / 0.7283 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6359, allocations: 0 / 0.7283 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6359, allocations: 4 kB / 0.7283 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6359, allocations: 0 / 0.7283 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.6366, allocations: 418.3 kB / 0.7287 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6366, allocations: 0 / 0.7287 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.6366, allocations: 4 kB / 0.7287 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6366, allocations: 3.984 kB / 0.7287 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.6367, allocations: 4 kB / 0.7287 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6367, allocations: 4 kB / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6367, allocations: 0 / 0.7287 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.637, allocations: 231.5 kB / 0.729 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.6371, allocations: 85.02 kB / 0.729 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.6371, allocations: 4 kB / 0.729 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.6372, allocations: 7.984 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6373, allocations: 7.984 kB / 0.7291 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.6373, allocations: 12 kB / 0.7291 GB, free: 7.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.6374, allocations: 95.2 kB / 0.7292 GB, free: 7.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6374, allocations: 0 / 0.7292 GB, free: 7.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002319/0.6376, allocations: 20 kB / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001626/0.6378, allocations: 107.2 kB / 0.7293 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.6381, allocations: 79.89 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6381, allocations: 0 / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.6382, allocations: 52.03 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.6385, allocations: 23.56 kB / 0.7294 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.6389, allocations: 193.7 kB / 0.7296 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.6392, allocations: 0.6924 MB / 0.7303 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.6392, allocations: 4.672 kB / 0.7303 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.6393, allocations: 11.44 kB / 0.7303 GB, free: 6.211 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6393, allocations: 0 / 0.7303 GB, free: 6.211 MB / 0.545 GB Notification: Performance of Templates: time 0.003577/0.6429, allocations: 1.123 MB / 0.7314 GB, free: 5.102 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)