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.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.494/1.494, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.000875/0.000875, allocations: 179 kB / 372.3 MB, free: 10.14 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.244/1.244, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.000804/0.0008038, allocations: 90.36 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 11.88 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1744, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.0006364/0.175, allocations: 354.1 kB / 0.9805 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.1758, allocations: 0.7854 MB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.1759, allocations: 4 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.232e-05/0.1759, allocations: 3.984 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.176, allocations: 3.938 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.921e-05/0.1761, allocations: 8 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.1761, allocations: 23.92 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.1762, allocations: 4 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.126e-05/0.1763, allocations: 11.97 kB / 0.9814 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.1763, allocations: 19.92 kB / 0.9814 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1763, allocations: 3.938 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.1763, allocations: 4 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.1764, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1764, allocations: 37.64 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.854e-05/0.1765, allocations: 15.95 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1765, allocations: 0 / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1765, allocations: 0 / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1765, allocations: 0 / 0.9814 GB, free: 25.96 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.0003261/0.1768, allocations: 351.7 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1769, allocations: 8.031 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1769, allocations: 42.67 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.1769, allocations: 8.938 kB / 0.9818 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.177, allocations: 168.3 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1771, allocations: 384 / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1771, allocations: 384 / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1772, allocations: 66.23 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1773, allocations: 3.938 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1773, allocations: 3.984 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1773, allocations: 0 / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1774, allocations: 43.97 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.1777, allocations: 280.8 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.1779, allocations: 46.55 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.1779, allocations: 24.91 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.178, allocations: 0 / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.178, allocations: 30.56 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.178, allocations: 3.938 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002992/0.1783, allocations: 97.62 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.1783, allocations: 55.41 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.658e-05/0.1784, allocations: 102 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-06/0.1784, allocations: 29.7 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.624e-05/0.1784, allocations: 95.92 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.1784, allocations: 3.938 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1784, allocations: 0 / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.1785, allocations: 318.8 kB / 0.9831 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.1786, allocations: 23.97 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.1786, allocations: 19.98 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1788, allocations: 48.77 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1788, allocations: 4.062 kB / 0.9832 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001646/0.179, allocations: 73.56 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.179, allocations: 8 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.179, allocations: 0 / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.179, allocations: 0 / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.1791, allocations: 16.02 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1791, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1791, allocations: 4 kB / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1791, allocations: 0 / 0.9833 GB, free: 23.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.611e-05/0.1792, allocations: 125.8 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1792, allocations: 0 / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.1792, allocations: 7.125 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1793, allocations: 4 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1793, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1793, allocations: 0 / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1794, allocations: 165.6 kB / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1794, allocations: 0 / 0.9836 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1794, allocations: 12.19 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1795, allocations: 0 / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1795, allocations: 4 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1795, allocations: 7.984 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1795, allocations: 4 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1797, allocations: 163.5 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.1797, allocations: 85.09 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1797, allocations: 4.031 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.1798, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.1798, allocations: 7.984 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1798, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.1798, allocations: 83.28 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1798, allocations: 3.938 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001901/0.18, allocations: 7.906 kB / 0.984 GB, free: 23.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003315/0.1804, allocations: 0.7007 MB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1806, allocations: 47.98 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1806, allocations: 0 / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.1807, allocations: 31.98 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.1809, allocations: 0 / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.1816, allocations: 414.5 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.1817, allocations: 0.6808 MB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.1817, allocations: 4 kB / 0.9858 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.1817, allocations: 11.44 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1817, allocations: 4 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.1921, allocations: 1.023 MB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/0.1922, allocations: 217.2 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.609, allocations: 0 / 0.987 GB, free: 19.95 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)