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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.806/1.806, allocations: 288.4 MB / 303.7 MB, free: 8.07 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.001349/0.001349, allocations: 180.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.0008785/0.0008785, allocations: 98.3 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 12.5 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 115.3 MB / 0.9802 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001122/0.2661, allocations: 470.5 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.268, allocations: 1.13 MB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.2681, allocations: 4 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2681, allocations: 3.938 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2682, allocations: 11.92 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.2689, allocations: 115 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2691, allocations: 87.81 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2692, allocations: 15.98 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.2693, allocations: 47.83 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.2695, allocations: 31.89 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.2695, allocations: 8 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.111e-05/0.2696, allocations: 23.98 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.2696, allocations: 3.938 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.365e-05/0.2698, allocations: 73.53 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.2699, allocations: 75.81 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2699, allocations: 0 / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2699, allocations: 0 / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.27, allocations: 0 / 0.9822 GB, free: 25.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006048/0.2706, allocations: 401.2 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2706, allocations: 12.03 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.2707, allocations: 12.94 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.916e-05/0.2708, allocations: 168.3 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.2709, allocations: 8.359 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.2709, allocations: 8.312 kB / 0.9828 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.2711, allocations: 66.23 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2712, allocations: 8.172 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2712, allocations: 19.81 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2712, allocations: 0 / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.2715, allocations: 47.95 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.272, allocations: 348.6 kB / 0.9832 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2722, allocations: 66.55 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2724, allocations: 36.97 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.2724, allocations: 0 / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.2727, allocations: 91.36 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.823e-06/0.2727, allocations: 0 / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005388/0.2733, allocations: 157.5 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2733, allocations: 59.39 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.2734, allocations: 117.8 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2734, allocations: 33.7 kB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.2735, allocations: 96.03 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.2735, allocations: 15.88 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.2736, allocations: 4 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.2736, allocations: 326.8 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.2738, allocations: 51.97 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2741, allocations: 92.25 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.2744, allocations: 149.9 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2744, allocations: 0 / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005384/0.2749, allocations: 227.1 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.275, allocations: 33.69 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.275, allocations: 4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.275, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2752, allocations: 19.98 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2752, allocations: 12 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.2755, allocations: 47.89 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.2755, allocations: 8.312 kB / 0.9848 GB, free: 22.25 MB / 0.6198 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.2756, allocations: 129.8 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.2757, allocations: 3.906 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.2757, allocations: 16.36 kB / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2757, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2757, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2757, allocations: 0 / 0.985 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.2763, allocations: 394.4 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2763, allocations: 0 / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.2763, allocations: 11.98 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2764, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2764, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2764, allocations: 0 / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2764, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.2767, allocations: 231.2 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2768, allocations: 81.02 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2768, allocations: 4.062 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2769, allocations: 15.98 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.277, allocations: 15.92 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.277, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.2771, allocations: 91.81 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2771, allocations: 0 / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003888/0.2775, allocations: 24 kB / 0.9858 GB, free: 21.15 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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 (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.0001838/0.2777, allocations: 107.2 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2782, allocations: 183.3 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2782, allocations: 0 / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.2783, allocations: 48.16 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2788, allocations: 18.55 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.2792, allocations: 179 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2793, allocations: 0.6926 MB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.2794, allocations: 7.781 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.2794, allocations: 15.42 kB / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2794, allocations: 0 / 0.987 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.004665/0.2841, allocations: 1.298 MB / 0.9883 GB, free: 18.55 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)