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.832/1.832, allocations: 288.3 MB / 303.2 MB, free: 8.223 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.001094/0.001094, allocations: 185 kB / 371.8 MB, free: 10.28 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.755/1.755, allocations: 205.4 MB / 0.6306 GB, free: 9.918 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.0009558/0.0009558, allocations: 102.2 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003971, allocations: 12.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0009601/0.2916, allocations: 393 kB / 0.9798 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.2932, allocations: 1.136 MB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2932, allocations: 0 / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.2933, allocations: 0 / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.2934, allocations: 15.97 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.2939, allocations: 119 kB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.294, allocations: 67.84 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2942, allocations: 7.984 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2943, allocations: 47.88 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2944, allocations: 47.88 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2944, allocations: 4 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.2945, allocations: 27.91 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.2945, allocations: 11.98 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.2946, allocations: 37.7 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2947, allocations: 76.09 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2947, allocations: 3.938 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2948, allocations: 3.938 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.2948, allocations: 0 / 0.9814 GB, free: 25.68 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.0006482/0.2954, allocations: 388.9 kB / 0.9817 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2955, allocations: 8.031 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.2956, allocations: 11.91 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2957, allocations: 167 kB / 0.9819 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.2957, allocations: 7.984 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.2958, allocations: 12 kB / 0.9819 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.296, allocations: 73.64 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.296, allocations: 0 / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.296, allocations: 0 / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2961, allocations: 0 / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2962, allocations: 51.91 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.2967, allocations: 320.7 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.2969, allocations: 70.61 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.297, allocations: 0 / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.2972, allocations: 115.4 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2972, allocations: 0 / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0005571/0.2978, allocations: 181.5 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.2979, allocations: 55.41 kB / 0.9828 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.298, allocations: 122.2 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.298, allocations: 25.7 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.298, allocations: 92.31 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2981, allocations: 27.64 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.2981, allocations: 0 / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.2982, allocations: 326.8 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2983, allocations: 51.91 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.2984, allocations: 75.05 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2986, allocations: 77.62 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2986, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003616/0.299, allocations: 199.3 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.299, allocations: 37.69 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.299, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.299, allocations: 0 / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2992, allocations: 16 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2992, allocations: 0 / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2994, allocations: 47.86 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2994, allocations: 8 kB / 0.9838 GB, free: 22.91 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 9.122e-05/0.2995, allocations: 125.7 kB / 0.9839 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.2995, allocations: 11.91 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.2996, allocations: 4.375 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2996, allocations: 4 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2996, allocations: 0 / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2996, allocations: 7.938 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.3, allocations: 414.4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3001, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.3001, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3001, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3001, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3001, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3001, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3004, allocations: 251.9 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.3005, allocations: 85.02 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3005, allocations: 0 / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.3006, allocations: 11.98 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.3006, allocations: 12 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3007, allocations: 7.984 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.3007, allocations: 91.22 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.3007, allocations: 0 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002754/0.301, allocations: 20 kB / 0.9848 GB, free: 21.78 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.0001699/0.3012, allocations: 115.2 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.3015, allocations: 183.3 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3015, allocations: 0 / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3017, allocations: 55.91 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.3019, allocations: 15.95 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.3023, allocations: 190.3 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3024, allocations: 0.6965 MB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.3025, allocations: 4.672 kB / 0.9861 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.3025, allocations: 11.44 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.3025, allocations: 0 / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.003711/0.3062, allocations: 1.492 MB / 0.9875 GB, free: 18.98 MB / 0.6198 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)