Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.7/1.7, allocations: 287.5 MB / 302.6 MB, free: 8.238 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.001071/0.001071, allocations: 176.1 kB / 371.2 MB, free: 10.83 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.958/1.958, allocations: 205.4 MB / 0.6299 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.0008699/0.0008698, allocations: 92.17 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005799/0.0005798, allocations: 13.12 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2455, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001108/0.2466, allocations: 482.2 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2484, allocations: 1.118 MB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.2485, allocations: 7.938 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.2486, allocations: 7.922 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.2487, allocations: 7.938 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.2492, allocations: 114.4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.2494, allocations: 95.81 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2495, allocations: 15.98 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2496, allocations: 47.84 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.2497, allocations: 31.89 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2497, allocations: 4 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.2498, allocations: 19.97 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.2498, allocations: 15.92 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.2499, allocations: 33.7 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.25, allocations: 83.81 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.25, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2501, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.2501, allocations: 0 / 0.9807 GB, free: 26.09 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.0005802/0.2506, allocations: 401.2 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2507, allocations: 8.031 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.2508, allocations: 4.938 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2509, allocations: 176.2 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.2509, allocations: 8.375 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.251, allocations: 12.36 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.2512, allocations: 70.23 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2512, allocations: 192 / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.2513, allocations: 7.922 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2513, allocations: 3.938 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2515, allocations: 59.95 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.252, allocations: 344.5 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2522, allocations: 66.61 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2523, allocations: 33.84 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.2524, allocations: 0 / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.2526, allocations: 99.3 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.2527, allocations: 0 / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004704/0.2531, allocations: 157.5 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2532, allocations: 55.39 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.2533, allocations: 117.8 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2533, allocations: 25.7 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.2534, allocations: 100 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.2534, allocations: 15.88 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.2534, allocations: 8 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/0.2535, allocations: 326.7 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2536, allocations: 59.91 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2538, allocations: 90.12 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2541, allocations: 149.9 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2541, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004129/0.2545, allocations: 223.1 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.2546, allocations: 37.69 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2546, allocations: 0 / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2546, allocations: 4.125 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.2547, allocations: 15.98 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2547, allocations: 4 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.2549, allocations: 54.14 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.2549, allocations: 8 kB / 0.9833 GB, free: 23.13 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 7.558e-05/0.255, allocations: 125.7 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.255, allocations: 11.84 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.2551, allocations: 16.34 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2551, allocations: 4 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2551, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2551, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.2555, allocations: 390.5 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2555, allocations: 4 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.2556, allocations: 11.94 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2556, allocations: 4 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2556, allocations: 3.984 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2556, allocations: 400 / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2556, allocations: 0 / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.2559, allocations: 227.3 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.2559, allocations: 85.02 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.256, allocations: 0 / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.2561, allocations: 7.984 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.2561, allocations: 15.91 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2561, allocations: 8 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.2562, allocations: 91.27 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2562, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002319/0.2564, allocations: 24 kB / 0.9843 GB, free: 22.02 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.0001394/0.2566, allocations: 107.2 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.2569, allocations: 179.5 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2569, allocations: 8.062 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.257, allocations: 43.97 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2573, allocations: 18.16 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.2576, allocations: 186.9 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2577, allocations: 0.6887 MB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.2578, allocations: 4 kB / 0.9855 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.2578, allocations: 11.44 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2578, allocations: 0 / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.003105/0.2609, allocations: 1.282 MB / 0.9868 GB, free: 19.45 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)