Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.609/1.609, allocations: 288.4 MB / 304.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 195.8 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6317 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007491/0.0007489, allocations: 90.34 kB / 0.745 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004045, allocations: 13.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2303, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7171/0.9474, allocations: 138.3 MB / 1.116 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.9477, allocations: 65.78 kB / 1.116 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00714/0.9549, allocations: 2.475 MB / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9549, allocations: 0 / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.9549, allocations: 3.969 kB / 1.118 GB, free: 32.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004779/0.9554, allocations: 394.6 kB / 1.119 GB, free: 31.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9555, allocations: 11.5 kB / 1.119 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.9555, allocations: 12.72 kB / 1.119 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.9556, allocations: 167.1 kB / 1.119 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.9557, allocations: 4.156 kB / 1.119 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.9557, allocations: 7.406 kB / 1.119 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9559, allocations: 77.42 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9559, allocations: 192 / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.9559, allocations: 7.25 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.956, allocations: 0 / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.9561, allocations: 46.5 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.9566, allocations: 328.2 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.9568, allocations: 74.41 kB / 1.119 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.9569, allocations: 39.22 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.9569, allocations: 7.5 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.9572, allocations: 98.33 kB / 1.119 GB, free: 31.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.9572, allocations: 0 / 1.119 GB, free: 31.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004727/0.9576, allocations: 192 kB / 1.12 GB, free: 31.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.9577, allocations: 55.16 kB / 1.12 GB, free: 30.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.9578, allocations: 114.9 kB / 1.12 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.9578, allocations: 29.58 kB / 1.12 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.9579, allocations: 90.06 kB / 1.12 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.9579, allocations: 22.91 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.9579, allocations: 7.656 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9581, allocations: 313.8 kB / 1.12 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.9582, allocations: 54.81 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.9584, allocations: 71.36 kB / 1.12 GB, free: 30.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.9586, allocations: 135.1 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9586, allocations: 3.938 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003432/0.959, allocations: 191.5 kB / 1.121 GB, free: 30.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.959, allocations: 36.39 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.959, allocations: 3.984 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.9591, allocations: 3.75 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.9592, allocations: 10.31 kB / 1.121 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.9592, allocations: 10.7 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.9594, allocations: 41.75 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.9594, allocations: 10.38 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,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): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.9595, allocations: 130.3 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.9595, allocations: 4 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.9595, allocations: 14.47 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9595, allocations: 0 / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.9596, allocations: 0 / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9596, allocations: 0 / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.96, allocations: 413.2 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.96, allocations: 0 / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.9601, allocations: 10.88 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9601, allocations: 0 / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.9601, allocations: 4.375 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9601, allocations: 3 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9601, allocations: 0 / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.9605, allocations: 247.5 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.9605, allocations: 88.8 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.9605, allocations: 3.25 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.9606, allocations: 6.016 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.9607, allocations: 6.359 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9607, allocations: 9.141 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.795e-05/0.9607, allocations: 88.75 kB / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9608, allocations: 0 / 1.122 GB, free: 29.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002608/0.961, allocations: 34.66 kB / 1.122 GB, free: 29.47 MB / 0.698 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.9612, allocations: 120.7 kB / 1.122 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.9615, allocations: 180.5 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9615, allocations: 3.312 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.9617, allocations: 50.11 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.9619, allocations: 19.97 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.9623, allocations: 182.3 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.9626, allocations: 0.6858 MB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.9626, allocations: 4.578 kB / 1.123 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.9627, allocations: 19.34 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.9627, allocations: 0 / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of Templates: time 0.003477/0.9662, allocations: 1.524 MB / 1.125 GB, free: 28.33 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)