Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.794/1.794, allocations: 287.5 MB / 302.6 MB, free: 8.34 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.001273/0.001273, allocations: 180.9 kB / 371.2 MB, free: 10.77 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.991/1.991, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008324/0.0008325, allocations: 100.2 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 16.38 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008638/0.2396, allocations: 390.4 kB / 0.9791 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.241, allocations: 1.153 MB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.241, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2411, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.2411, allocations: 7.938 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2416, allocations: 130.7 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2417, allocations: 103.8 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.2418, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.2419, allocations: 43.89 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.242, allocations: 47.88 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.242, allocations: 4 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.676e-05/0.2421, allocations: 19.92 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.2421, allocations: 15.97 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2422, allocations: 41.7 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2423, allocations: 80.09 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2423, allocations: 0 / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2423, allocations: 0 / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2423, allocations: 0 / 0.9807 GB, free: 26.12 MB / 0.6198 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.000525/0.2429, allocations: 389 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2429, allocations: 8.031 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.243, allocations: 8.844 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.2431, allocations: 176.3 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2431, allocations: 8.375 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.2431, allocations: 4.375 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2433, allocations: 78.2 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2433, allocations: 192 / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2434, allocations: 7.922 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2434, allocations: 0 / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.2435, allocations: 43.91 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.2439, allocations: 320.9 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2441, allocations: 74.42 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.2442, allocations: 36.91 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.2443, allocations: 0 / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.2445, allocations: 119.3 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.2445, allocations: 0 / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004935/0.245, allocations: 189.4 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.2451, allocations: 55.41 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.2451, allocations: 113.8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2452, allocations: 29.7 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2452, allocations: 88.12 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.2452, allocations: 23.66 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.2453, allocations: 4 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.2453, allocations: 318.8 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2454, allocations: 51.97 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.2456, allocations: 75.42 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.2458, allocations: 128.1 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2458, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003446/0.2462, allocations: 203.1 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.2462, allocations: 37.7 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2462, allocations: 3.984 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2462, allocations: 4 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2463, allocations: 11.94 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2464, allocations: 4 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.2466, allocations: 48.02 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2466, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 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 7.852e-05/0.2467, allocations: 125.8 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.2467, allocations: 7.906 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2467, allocations: 16.36 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2467, allocations: 0.8438 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2467, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2468, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.2472, allocations: 410.3 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2472, allocations: 3.984 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.2472, allocations: 7.938 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2472, allocations: 8 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2473, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2473, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2473, allocations: 0 / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2476, allocations: 251.3 kB / 0.984 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.2476, allocations: 77.11 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.2477, allocations: 12 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.2478, allocations: 3.984 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.2478, allocations: 4 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2478, allocations: 4 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.2479, allocations: 95.2 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2479, allocations: 0 / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002304/0.2481, allocations: 28 kB / 0.9842 GB, free: 22.12 MB / 0.6198 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.0001516/0.2483, allocations: 105.3 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.2486, allocations: 187.3 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2486, allocations: 3.938 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.2487, allocations: 56.58 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.249, allocations: 11.98 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.2494, allocations: 192.5 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2495, allocations: 0.6887 MB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.2496, allocations: 4.672 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.2496, allocations: 11.44 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2496, allocations: 0 / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.003557/0.2532, allocations: 1.517 MB / 0.9869 GB, free: 19.3 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)