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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.489/1.489, allocations: 288.4 MB / 303.6 MB, free: 8.113 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.0008966/0.0008967, allocations: 185 kB / 372.2 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 1.189/1.189, allocations: 205.4 MB / 0.631 GB, free: 9.812 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.0006741/0.0006741, allocations: 109.3 kB / 0.7444 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 18.14 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1468, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0007816/0.1476, allocations: 478.5 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1488, allocations: 1.138 MB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.1488, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1489, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.1489, allocations: 11.92 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1493, allocations: 113.8 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.1494, allocations: 103.7 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.1495, allocations: 12 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.1496, allocations: 39.91 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.1497, allocations: 35.89 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1497, allocations: 7.984 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.1498, allocations: 23.92 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1498, allocations: 11.98 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.1498, allocations: 57.56 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.36e-05/0.1499, allocations: 76.09 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.15, allocations: 0 / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.15, allocations: 0 / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.15, allocations: 0 / 0.9822 GB, free: 25.14 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.0004229/0.1504, allocations: 405 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1504, allocations: 8.031 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.018e-05/0.1505, allocations: 38.73 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.1505, allocations: 8.938 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.1506, allocations: 176.2 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1506, allocations: 4.375 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1507, allocations: 4.375 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1508, allocations: 82.2 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.1509, allocations: 3.938 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1509, allocations: 4 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1509, allocations: 0 / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1511, allocations: 59.94 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.1515, allocations: 344.5 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1516, allocations: 62.61 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.323e-05/0.1517, allocations: 40.95 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1517, allocations: 0 / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.152, allocations: 95.3 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.152, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003873/0.1524, allocations: 157.8 kB / 0.9837 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1524, allocations: 59.34 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.1525, allocations: 117.8 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1525, allocations: 33.7 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1526, allocations: 92.05 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1526, allocations: 15.8 kB / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1526, allocations: 4 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.1526, allocations: 322.8 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1528, allocations: 59.95 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1529, allocations: 97.44 kB / 0.9844 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1532, allocations: 158 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1532, allocations: 0 / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003753/0.1536, allocations: 219.1 kB / 0.9848 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.1536, allocations: 43.69 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1536, allocations: 8 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1537, allocations: 3.938 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.1537, allocations: 12 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1538, allocations: 3.984 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.154, allocations: 47.91 kB / 0.9849 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.154, allocations: 11.98 kB / 0.9849 GB, free: 22.12 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 6.645e-05/0.1541, allocations: 132.8 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1541, allocations: 7.844 kB / 0.985 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1541, allocations: 12.38 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1541, allocations: 0 / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1541, allocations: 0 / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1541, allocations: 7.984 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.1545, allocations: 382.5 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1545, allocations: 0 / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1545, allocations: 19.92 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1546, allocations: 0 / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1546, allocations: 4 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1546, allocations: 3.984 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1546, allocations: 3.938 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1548, allocations: 215.4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.1548, allocations: 85.02 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1549, allocations: 0 / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.1549, allocations: 11.98 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.155, allocations: 11.94 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.155, allocations: 3.984 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.155, allocations: 91.28 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.155, allocations: 0 / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002347/0.1553, allocations: 31.98 kB / 0.9859 GB, free: 21.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.0004313/0.1557, allocations: 0.763 MB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.156, allocations: 183.5 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.156, allocations: 8 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1562, allocations: 43.91 kB / 0.9869 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.1564, allocations: 15.94 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.1574, allocations: 0.6807 MB / 0.9875 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.635e-05/0.1575, allocations: 0.7 MB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.1575, allocations: 15.77 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1576, allocations: 19.44 kB / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.1576, allocations: 0 / 0.9883 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/0.4, allocations: 2.221 MB / 0.9904 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.4002, allocations: 205.7 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.152, allocations: 11.06 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)