Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001931/0.001931, allocations: 198.3 kB / 376.9 MB, free: 1.781 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.96/1.96, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 102.5 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2679, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002586/0.2705, allocations: 0.8174 MB / 0.983 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.2722, allocations: 1.16 MB / 0.9842 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.2723, allocations: 4 kB / 0.9842 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.2724, allocations: 3.938 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.2725, allocations: 7.922 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.273, allocations: 115.8 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.2731, allocations: 107.8 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2732, allocations: 19.97 kB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2734, allocations: 47.83 kB / 0.9845 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.2734, allocations: 39.83 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2735, allocations: 8 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/0.2736, allocations: 19.98 kB / 0.9845 GB, free: 8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.2736, allocations: 4 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.2737, allocations: 43.83 kB / 0.9846 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2738, allocations: 107.7 kB / 0.9847 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2739, allocations: 3.984 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2739, allocations: 0 / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2739, allocations: 4 kB / 0.9847 GB, free: 7.84 MB / 0.7136 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.000611/0.2745, allocations: 413.2 kB / 0.9851 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2745, allocations: 8.031 kB / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.2746, allocations: 12.84 kB / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2747, allocations: 164.3 kB / 0.9852 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2748, allocations: 8.312 kB / 0.9853 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.2748, allocations: 8.375 kB / 0.9853 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.275, allocations: 66.22 kB / 0.9853 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.275, allocations: 192 / 0.9853 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.275, allocations: 7.938 kB / 0.9853 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.275, allocations: 0 / 0.9853 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2752, allocations: 43.95 kB / 0.9854 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.2757, allocations: 336.7 kB / 0.9857 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.2759, allocations: 58.55 kB / 0.9858 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.276, allocations: 32.97 kB / 0.9858 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.2761, allocations: 4 kB / 0.9858 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.2763, allocations: 91.34 kB / 0.9859 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.2763, allocations: 3.938 kB / 0.9859 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004373/0.2768, allocations: 133.5 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.2768, allocations: 67.45 kB / 0.9861 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.725e-05/0.2769, allocations: 121.7 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.277, allocations: 33.7 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.277, allocations: 96.03 kB / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2771, allocations: 15.81 kB / 0.9863 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.2771, allocations: 37.7 kB / 0.9864 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2773, allocations: 318.8 kB / 0.9867 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2774, allocations: 55.91 kB / 0.9867 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.2776, allocations: 92.19 kB / 0.9868 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.2779, allocations: 145.8 kB / 0.9869 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2779, allocations: 4 kB / 0.9869 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004278/0.2783, allocations: 203.2 kB / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2784, allocations: 33.7 kB / 0.9872 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2784, allocations: 0 / 0.9872 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2784, allocations: 4 kB / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.2785, allocations: 15.92 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2785, allocations: 128 / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.2787, allocations: 43.89 kB / 0.9872 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.2788, allocations: 8 kB / 0.9872 GB, free: 4.926 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.977e-05/0.2789, allocations: 129.8 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.2789, allocations: 11.89 kB / 0.9874 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.2789, allocations: 4.375 kB / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2789, allocations: 0 / 0.9874 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2789, allocations: 4 kB / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2789, allocations: 0 / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.2794, allocations: 382.4 kB / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2794, allocations: 0 / 0.9878 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.2794, allocations: 7.984 kB / 0.9878 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2794, allocations: 3.984 kB / 0.9878 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2795, allocations: 8 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2795, allocations: 3.938 kB / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2795, allocations: 3.938 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2801, allocations: 0.7862 MB / 0.9885 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.2801, allocations: 89.09 kB / 0.9886 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2801, allocations: 3.938 kB / 0.9886 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.2802, allocations: 8 kB / 0.9886 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.2803, allocations: 7.984 kB / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2803, allocations: 0 / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.2803, allocations: 95.27 kB / 0.9887 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2803, allocations: 0 / 0.9887 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003682/0.2807, allocations: 24 kB / 0.9888 GB, free: 3.223 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001538/0.2809, allocations: 107.2 kB / 0.9889 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003744/0.2813, allocations: 175.7 kB / 0.989 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2813, allocations: 0 / 0.989 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.2814, allocations: 39.92 kB / 0.9891 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2817, allocations: 24.66 kB / 0.9891 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2821, allocations: 307.3 kB / 0.9894 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2824, allocations: 0.6887 MB / 0.9901 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.2824, allocations: 11.98 kB / 0.9901 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.2824, allocations: 11.44 kB / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.2824, allocations: 0 / 0.9901 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.003877/0.2863, allocations: 1.37 MB / 0.9914 GB, free: 444 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)