Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 222.4 MB, free: 4.422 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002758, allocations: 70.75 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3451, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002292/0.3474, allocations: 0.7564 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3489, allocations: 1.146 MB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.349, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.349, allocations: 3.938 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.3491, allocations: 11.88 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.3496, allocations: 137.6 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3498, allocations: 123.8 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3499, allocations: 15.97 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.35, allocations: 55.84 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.3501, allocations: 35.89 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3501, allocations: 12 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.3502, allocations: 23.97 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.3503, allocations: 15.94 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.3503, allocations: 43.84 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3505, allocations: 115.6 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3505, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3506, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3506, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 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.0006698/0.3512, allocations: 417.2 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3513, allocations: 11.97 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.3514, allocations: 8.844 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3515, allocations: 172.4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.3515, allocations: 12.38 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3516, allocations: 12.36 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3518, allocations: 70.2 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.3518, allocations: 192 / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3518, allocations: 3.938 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3518, allocations: 0 / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.352, allocations: 47.89 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.3526, allocations: 344.6 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3528, allocations: 62.55 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.3529, allocations: 28.97 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3529, allocations: 0 / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3532, allocations: 91.42 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.3532, allocations: 0 / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004703/0.3537, allocations: 145.5 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.3538, allocations: 59.41 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3539, allocations: 113.8 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3539, allocations: 29.7 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.354, allocations: 96.03 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.354, allocations: 19.73 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.3541, allocations: 37.7 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3543, allocations: 326.8 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3544, allocations: 55.95 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.3546, allocations: 88.25 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.3549, allocations: 137.9 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3549, allocations: 4 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004426/0.3554, allocations: 203.1 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.3554, allocations: 37.7 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3554, allocations: 0 / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3554, allocations: 8.125 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.3555, allocations: 11.98 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3556, allocations: 0 / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.3558, allocations: 35.89 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3558, allocations: 23.98 kB / 0.7884 GB, free: 8.043 MB / 0.6075 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 0.0001001/0.3559, allocations: 121.8 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3559, allocations: 7.906 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.356, allocations: 12.38 kB / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.356, allocations: 0 / 0.7885 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.356, allocations: 3.938 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.356, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.3565, allocations: 382.3 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3565, allocations: 0 / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.3565, allocations: 11.98 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3565, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3566, allocations: 8 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3566, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3566, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.3569, allocations: 203.8 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.3569, allocations: 93 kB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.357, allocations: 0 / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.357, allocations: 11.94 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.3571, allocations: 11.92 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.3571, allocations: 0 / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.3572, allocations: 95.27 kB / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3572, allocations: 0 / 0.7893 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002473/0.3574, allocations: 24 kB / 0.7893 GB, free: 6.977 MB / 0.6075 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 (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.0001712/0.3576, allocations: 115.2 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.358, allocations: 179.3 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.358, allocations: 0 / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3582, allocations: 43.98 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3584, allocations: 16.23 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.3588, allocations: 173.5 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3592, allocations: 0.6951 MB / 0.7905 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.3592, allocations: 4 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3593, allocations: 19.42 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3593, allocations: 0 / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of Templates: time 0.004145/0.3634, allocations: 1.446 MB / 0.792 GB, free: 4.234 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)