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.01126/0.01126, allocations: 102 kB / 15.73 MB, free: 6.051 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.001988/0.001988, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.747/1.747, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.409/1.409, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001527/0.001527, allocations: 67.89 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8025, allocations: 104.7 MB / 0.8281 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0025/0.805, allocations: 1.381 MB / 0.8294 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.8056, allocations: 246.3 kB / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.8056, allocations: 0 / 0.8296 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.8057, allocations: 7.875 kB / 0.8296 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.8058, allocations: 15.86 kB / 0.8297 GB, free: 0.9414 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.806, allocations: 35.89 kB / 0.8297 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.8061, allocations: 75.83 kB / 0.8298 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.8062, allocations: 8 kB / 0.8298 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.8063, allocations: 27.91 kB / 0.8298 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.8064, allocations: 35.89 kB / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.8064, allocations: 4 kB / 0.8298 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.8064, allocations: 8 kB / 0.8298 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.8065, allocations: 15.92 kB / 0.8299 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.8065, allocations: 23.92 kB / 0.8299 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.8067, allocations: 75.27 kB / 0.83 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8067, allocations: 0 / 0.83 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8067, allocations: 4 kB / 0.83 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.8067, allocations: 0 / 0.83 GB, free: 0.6367 MB / 0.6231 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.0005726/0.8073, allocations: 361.7 kB / 0.8303 GB, free: 240 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.8073, allocations: 12.03 kB / 0.8303 GB, free: 228 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.8074, allocations: 4.844 kB / 0.8303 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.8075, allocations: 180.2 kB / 0.8305 GB, free: 4 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.8075, allocations: 4.375 kB / 0.8305 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.8075, allocations: 464 / 0.8305 GB, free: 16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.8078, allocations: 82.19 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.8078, allocations: 4.188 kB / 0.8306 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8078, allocations: 3.938 kB / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.8078, allocations: 0 / 0.8306 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.808, allocations: 43.97 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.8084, allocations: 288.7 kB / 0.8309 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.8086, allocations: 66.48 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8087, allocations: 36.97 kB / 0.831 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.8087, allocations: 4 kB / 0.831 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.809, allocations: 103.2 kB / 0.8311 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.809, allocations: 0 / 0.8311 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0004673/0.8094, allocations: 177.5 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8095, allocations: 55.41 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.8096, allocations: 113.8 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.8096, allocations: 25.7 kB / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.8097, allocations: 88.14 kB / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.8097, allocations: 19.64 kB / 0.8316 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.8097, allocations: 25.72 kB / 0.8316 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8099, allocations: 322.8 kB / 0.8319 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.858e-05/0.81, allocations: 23.98 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.527e-05/0.8101, allocations: 49.69 kB / 0.832 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.8102, allocations: 61.64 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.8103, allocations: 7.938 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002227/0.8105, allocations: 101.6 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8105, allocations: 4 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8105, allocations: 4.5 kB / 0.8321 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8105, allocations: 3.984 kB / 0.8321 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.8106, allocations: 12 kB / 0.8322 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.8106, allocations: 0 / 0.8322 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.8107, allocations: 19.83 kB / 0.8322 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8107, allocations: 7.938 kB / 0.8322 GB, free: 14.13 MB / 0.6387 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 8.509e-05/0.8108, allocations: 122.8 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.8109, allocations: 7.984 kB / 0.8323 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.8109, allocations: 12.38 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8109, allocations: 4 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.8109, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8109, allocations: 0 / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.8115, allocations: 422.3 kB / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.8115, allocations: 0 / 0.8327 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.8116, allocations: 4 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8116, allocations: 0 / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.8116, allocations: 7.984 kB / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8116, allocations: 0 / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8116, allocations: 0 / 0.8327 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.8119, allocations: 231.4 kB / 0.833 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.812, allocations: 84.95 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.812, allocations: 4 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.8121, allocations: 11.98 kB / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.8122, allocations: 11.98 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8122, allocations: 4 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.8123, allocations: 95.2 kB / 0.8332 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8123, allocations: 0 / 0.8332 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002253/0.8125, allocations: 16 kB / 0.8332 GB, free: 13.01 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: 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.0001096/0.8126, allocations: 107.2 kB / 0.8333 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.8129, allocations: 84.02 kB / 0.8334 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8129, allocations: 8.062 kB / 0.8334 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.813, allocations: 39.98 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.8133, allocations: 19.72 kB / 0.8334 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.8137, allocations: 181.8 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.814, allocations: 0.6883 MB / 0.8343 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.814, allocations: 12.66 kB / 0.8343 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.8141, allocations: 11.44 kB / 0.8343 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.8141, allocations: 0 / 0.8343 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of Templates: time 0.003394/0.8175, allocations: 1.179 MB / 0.8354 GB, free: 10.64 MB / 0.6387 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)