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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 252 MB / 268 MB, free: 10.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 174.2 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 0.5786 GB, free: 20.39 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008195, allocations: 94.31 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 9.938 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2012, allocations: 106.3 MB / 0.9015 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001445/0.2027, allocations: 1.103 MB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004897/0.2032, allocations: 237.5 kB / 0.9028 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.2033, allocations: 4 kB / 0.9028 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.2033, allocations: 7.922 kB / 0.9028 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/0.2034, allocations: 3.938 kB / 0.9028 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.2037, allocations: 31.95 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.2038, allocations: 71.78 kB / 0.9029 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.2039, allocations: 7.984 kB / 0.9029 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.086e-05/0.2039, allocations: 31.84 kB / 0.9029 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.204, allocations: 31.91 kB / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.204, allocations: 0 / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.2041, allocations: 4 kB / 0.903 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/0.2041, allocations: 23.89 kB / 0.903 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.2042, allocations: 41.62 kB / 0.903 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.2043, allocations: 47.91 kB / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2043, allocations: 0 / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2043, allocations: 0 / 0.9031 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2043, allocations: 0 / 0.9031 GB, free: 62.19 MB / 0.6042 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.0005186/0.2048, allocations: 363.6 kB / 0.9034 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2049, allocations: 12.03 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.2049, allocations: 0.9375 kB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.205, allocations: 176.2 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.205, allocations: 4.375 kB / 0.9036 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2051, allocations: 4.312 kB / 0.9036 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2053, allocations: 90.12 kB / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2053, allocations: 192 / 0.9037 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2053, allocations: 7.875 kB / 0.9037 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2053, allocations: 0 / 0.9037 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2055, allocations: 51.95 kB / 0.9037 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.2059, allocations: 284.9 kB / 0.904 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2061, allocations: 74.42 kB / 0.9041 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.2062, allocations: 40.97 kB / 0.9041 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.2062, allocations: 0 / 0.9041 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.2064, allocations: 107.2 kB / 0.9042 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2065, allocations: 0 / 0.9042 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0004584/0.2069, allocations: 177.6 kB / 0.9044 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.207, allocations: 51.41 kB / 0.9044 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.639e-05/0.207, allocations: 113.8 kB / 0.9046 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2071, allocations: 33.69 kB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.2071, allocations: 92.14 kB / 0.9047 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.2071, allocations: 15.88 kB / 0.9047 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2071, allocations: 7.938 kB / 0.9047 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.2072, allocations: 318.8 kB / 0.905 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.2073, allocations: 23.98 kB / 0.905 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.2074, allocations: 45.7 kB / 0.9051 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2075, allocations: 70.06 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2075, allocations: 3.938 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.2078, allocations: 113.4 kB / 0.9052 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2078, allocations: 4 kB / 0.9052 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2078, allocations: 0 / 0.9052 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2078, allocations: 8.031 kB / 0.9053 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2079, allocations: 15.98 kB / 0.9053 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.208, allocations: 4 kB / 0.9053 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.208, allocations: 19.86 kB / 0.9053 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.208, allocations: 0 / 0.9053 GB, free: 59.67 MB / 0.6042 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,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 7.69e-05/0.2081, allocations: 121.8 kB / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.2081, allocations: 3.906 kB / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.2082, allocations: 20.36 kB / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2082, allocations: 3.984 kB / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2082, allocations: 0 / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2082, allocations: 0 / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.2088, allocations: 430.3 kB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2088, allocations: 0 / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.2088, allocations: 4 kB / 0.9059 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2088, allocations: 0 / 0.9059 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2088, allocations: 8 kB / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2089, allocations: 0 / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2089, allocations: 0 / 0.9059 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.2091, allocations: 239.3 kB / 0.9061 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.2092, allocations: 85.02 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2092, allocations: 4.266 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2093, allocations: 11.98 kB / 0.9062 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.2094, allocations: 4 kB / 0.9062 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2094, allocations: 15.92 kB / 0.9062 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.2094, allocations: 91.22 kB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2094, allocations: 0 / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002261/0.2097, allocations: 16 kB / 0.9063 GB, free: 58.54 MB / 0.6042 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.0001142/0.2098, allocations: 107.2 kB / 0.9064 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.21, allocations: 75.91 kB / 0.9065 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.21, allocations: 3.938 kB / 0.9065 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2102, allocations: 55.95 kB / 0.9065 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.2105, allocations: 17.55 kB / 0.9066 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.2108, allocations: 217.4 kB / 0.9068 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.211, allocations: 0.6926 MB / 0.9074 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.211, allocations: 11.44 kB / 0.9074 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.211, allocations: 4 kB / 0.9075 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.002255/0.2133, allocations: 1.095 MB / 0.9085 GB, free: 56.21 MB / 0.6042 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)