Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7775/0.7775, allocations: 127.4 MB / 134.9 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 176.8 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 107.9 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.565e-05, allocations: 3.031 kB / 0.5467 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.144/6.343, allocations: 2.137 GB / 2.758 GB, free: 188.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/6.344, allocations: 85.22 kB / 2.759 GB, free: 188.5 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.FluidProperties$sou$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.FluidProperties$floSpl$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.FluidProperties$floSpl$inlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-59:20:writable] Warning: Connector .BuildSysPro.IBPSA.Fluid.FMI.Interfaces.FluidProperties$floSpl$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/FMI/FlowSplitter_u.mo:61:5-61:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd - DAE generated: time 0.2931/6.637, allocations: 164.7 MB / 2.919 GB, free: 87.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/6.637, allocations: 0 / 2.919 GB, free: 87.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.908e-05/6.637, allocations: 11.94 kB / 2.919 GB, free: 87.89 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0003377/6.637, allocations: 398.6 kB / 2.92 GB, free: 87.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/6.637, allocations: 15.97 kB / 2.92 GB, free: 87.44 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/6.637, allocations: 19.77 kB / 2.92 GB, free: 87.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/6.638, allocations: 251.7 kB / 2.92 GB, free: 87.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/6.638, allocations: 4 kB / 2.92 GB, free: 87.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/6.638, allocations: 8 kB / 2.92 GB, free: 87.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/6.638, allocations: 52.45 kB / 2.92 GB, free: 87.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/6.638, allocations: 155.6 kB / 2.92 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/6.638, allocations: 0 / 2.92 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/6.638, allocations: 3.938 kB / 2.92 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/6.638, allocations: 4 kB / 2.92 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/6.639, allocations: 1.114 MB / 2.921 GB, free: 85.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/6.639, allocations: 169.1 kB / 2.922 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/6.639, allocations: 84.14 kB / 2.922 GB, free: 85.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/6.639, allocations: 75.28 kB / 2.922 GB, free: 85.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/6.639, allocations: 109.8 kB / 2.922 GB, free: 85.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/6.639, allocations: 0 / 2.922 GB, free: 85.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.621e-05/6.639, allocations: 45.55 kB / 2.922 GB, free: 85.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/6.639, allocations: 106.8 kB / 2.922 GB, free: 85.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/6.639, allocations: 153.4 kB / 2.922 GB, free: 84.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/6.639, allocations: 25.7 kB / 2.922 GB, free: 84.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/6.639, allocations: 143.6 kB / 2.922 GB, free: 84.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/6.639, allocations: 0 / 2.922 GB, free: 84.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/6.639, allocations: 0 / 2.922 GB, free: 84.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.5e-05/6.639, allocations: 322.8 kB / 2.923 GB, free: 84.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/6.639, allocations: 8 kB / 2.923 GB, free: 84.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/6.639, allocations: 67.66 kB / 2.923 GB, free: 84.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/6.639, allocations: 12 kB / 2.923 GB, free: 84.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/6.639, allocations: 0 / 2.923 GB, free: 84.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001184/6.64, allocations: 81.42 kB / 2.923 GB, free: 84.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/6.64, allocations: 5.562 kB / 2.923 GB, free: 84.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/6.64, allocations: 0 / 2.923 GB, free: 84.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/6.64, allocations: 4 kB / 2.923 GB, free: 84.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/6.64, allocations: 15.94 kB / 2.923 GB, free: 84.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/6.64, allocations: 3.953 kB / 2.923 GB, free: 84.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/6.64, allocations: 11.88 kB / 2.923 GB, free: 84.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/6.64, allocations: 0 / 2.923 GB, free: 84.17 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.6e-05/6.64, allocations: 184.4 kB / 2.923 GB, free: 83.98 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.196e-05/6.64, allocations: 146.5 kB / 2.923 GB, free: 83.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/6.64, allocations: 113.5 kB / 2.923 GB, free: 83.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/6.64, allocations: 118.2 kB / 2.923 GB, free: 83.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/6.64, allocations: 184.2 kB / 2.923 GB, free: 83.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.819e-05/6.64, allocations: 184.3 kB / 2.924 GB, free: 83.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/6.64, allocations: 180.3 kB / 2.924 GB, free: 83.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/6.64, allocations: 429.7 kB / 2.924 GB, free: 82.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/6.64, allocations: 101 kB / 2.924 GB, free: 82.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/6.64, allocations: 101 kB / 2.924 GB, free: 82.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-05/6.64, allocations: 180.2 kB / 2.925 GB, free: 82.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/6.64, allocations: 180.3 kB / 2.925 GB, free: 81.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.52e-05/6.64, allocations: 180.3 kB / 2.925 GB, free: 81.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.928e-05/6.64, allocations: 185.2 kB / 2.925 GB, free: 81.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/6.641, allocations: 315.6 kB / 2.925 GB, free: 81.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/6.641, allocations: 189.9 kB / 2.926 GB, free: 81.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/6.641, allocations: 184.2 kB / 2.926 GB, free: 80.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/6.641, allocations: 105.1 kB / 2.926 GB, free: 80.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/6.641, allocations: 184.2 kB / 2.926 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/6.641, allocations: 101 kB / 2.926 GB, free: 80.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.893e-05/6.641, allocations: 132.2 kB / 2.926 GB, free: 80.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.641, allocations: 4 kB / 2.926 GB, free: 80.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003717/6.641, allocations: 75.83 kB / 2.926 GB, free: 80.27 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001262/6.642, allocations: 1.822 MB / 2.928 GB, free: 78.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/6.643, allocations: 11.98 kB / 2.928 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/6.643, allocations: 0 / 2.928 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-06/6.643, allocations: 11.94 kB / 2.928 GB, free: 78.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/6.643, allocations: 0.5287 MB / 2.929 GB, free: 77.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/6.643, allocations: 270.6 kB / 2.929 GB, free: 77.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/6.644, allocations: 0.7197 MB / 2.93 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.591e-05/6.644, allocations: 16.42 kB / 2.93 GB, free: 76.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/6.644, allocations: 43.36 kB / 2.93 GB, free: 76.76 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/6.644, allocations: 0 / 2.93 GB, free: 76.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/6.67, allocations: 9.957 MB / 2.939 GB, free: 66.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/6.67, allocations: 135 kB / 2.939 GB, free: 66.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/8.676, allocations: 2.25 kB / 2.939 GB, free: 66.61 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)