Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.483/1.483, allocations: 288.4 MB / 303.6 MB, free: 8.25 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.0009857/0.0009858, allocations: 172.5 kB / 372.2 MB, free: 10.12 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.215/1.215, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.0006945/0.0006944, allocations: 95.39 kB / 0.7444 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003361, allocations: 11.75 kB / 0.8676 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1575, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0006542/0.1582, allocations: 334.2 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1593, allocations: 1.087 MB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1594, allocations: 4 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.96e-05/0.1595, allocations: 7.875 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.205e-05/0.1595, allocations: 3.984 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.1599, allocations: 105.3 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.16, allocations: 75.81 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.586e-05/0.1601, allocations: 4 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.1602, allocations: 27.97 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.1603, allocations: 31.91 kB / 0.9818 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1603, allocations: 4 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.1603, allocations: 11.98 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1604, allocations: 11.98 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.1605, allocations: 53.56 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.468e-05/0.1606, allocations: 67.84 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1606, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1606, allocations: 0 / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1606, allocations: 0 / 0.982 GB, free: 25.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003046/0.1609, allocations: 361.4 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1609, allocations: 12.03 kB / 0.9823 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.161, allocations: 38.75 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.161, allocations: 8.922 kB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1612, allocations: 176.3 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1612, allocations: 4.375 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1612, allocations: 4.375 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.1613, allocations: 50.23 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1613, allocations: 3.938 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1613, allocations: 4 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1614, allocations: 0 / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.1614, allocations: 19.94 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.1617, allocations: 304.8 kB / 0.9829 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.351e-05/0.1617, allocations: 26.56 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.1617, allocations: 20.67 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.1618, allocations: 4.062 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.1619, allocations: 55.41 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1619, allocations: 0 / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001622/0.1621, allocations: 65.58 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1621, allocations: 59.34 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.219e-05/0.1622, allocations: 105.8 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1622, allocations: 25.7 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.1622, allocations: 96.03 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.1622, allocations: 4 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.1623, allocations: 4 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.1623, allocations: 322.8 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.1624, allocations: 27.98 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.1625, allocations: 46.56 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.1625, allocations: 84.2 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1626, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002034/0.1628, allocations: 147.2 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.1628, allocations: 37.69 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1628, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1628, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-05/0.1628, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1629, allocations: 4 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1631, allocations: 40.06 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1631, allocations: 7.984 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.436e-05/0.1632, allocations: 125.8 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.1632, allocations: 0 / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.1632, allocations: 3.906 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1632, allocations: 0 / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1632, allocations: 8 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1632, allocations: 0 / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.1633, allocations: 165.6 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1633, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-06/0.1633, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1633, allocations: 0 / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1634, allocations: 3.938 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1634, allocations: 0 / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1634, allocations: 3.938 kB / 0.9843 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.1634, allocations: 92.98 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.1635, allocations: 81.7 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.1635, allocations: 0 / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.1635, allocations: 4 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.1635, allocations: 7.984 kB / 0.9845 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1635, allocations: 7.922 kB / 0.9845 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.297e-05/0.1636, allocations: 83.28 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1636, allocations: 0 / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001973/0.1638, allocations: 16 kB / 0.9846 GB, free: 22.3 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002512/0.164, allocations: 0.6318 MB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1642, allocations: 119.4 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1642, allocations: 0 / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.1642, allocations: 11.94 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.1644, allocations: 18.41 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.1651, allocations: 0.4981 MB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.1652, allocations: 0.6809 MB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.011e-05/0.1652, allocations: 4 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.1652, allocations: 11.44 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.1653, allocations: 0 / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/0.177, allocations: 1.764 MB / 0.9883 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.1772, allocations: 206.9 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.768, allocations: 0 / 0.9885 GB, free: 18.38 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)