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.8881/0.8881, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001154/0.001154, allocations: 178.5 kB / 173.7 MB, free: 6.145 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.958/1.958, allocations: 205.4 MB / 409 MB, free: 10.48 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.001131/0.001131, allocations: 94.31 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 14 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 76.76 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.142/6.327, allocations: 2.138 GB / 2.773 GB, free: 239.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/6.327, allocations: 86.17 kB / 2.773 GB, free: 239.2 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.2963/6.624, allocations: 167 MB / 2.936 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/6.624, allocations: 0 / 2.936 GB, free: 71.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.893e-05/6.624, allocations: 8 kB / 2.936 GB, free: 71.6 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.0004853/6.624, allocations: 423.8 kB / 2.937 GB, free: 71.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/6.624, allocations: 8.031 kB / 2.937 GB, free: 71.12 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/6.624, allocations: 38.56 kB / 2.937 GB, free: 71.08 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/6.624, allocations: 23.77 kB / 2.937 GB, free: 71.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/6.625, allocations: 254.7 kB / 2.937 GB, free: 70.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/6.625, allocations: 12.23 kB / 2.937 GB, free: 70.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/6.625, allocations: 12.22 kB / 2.937 GB, free: 70.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/6.625, allocations: 181.9 kB / 2.937 GB, free: 70.53 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/6.625, allocations: 7.875 kB / 2.937 GB, free: 70.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/6.625, allocations: 4 kB / 2.937 GB, free: 70.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/6.625, allocations: 8 kB / 2.937 GB, free: 70.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/6.625, allocations: 67.84 kB / 2.937 GB, free: 70.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/6.626, allocations: 1.164 MB / 2.938 GB, free: 69.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/6.626, allocations: 169.1 kB / 2.938 GB, free: 69.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/6.626, allocations: 75.28 kB / 2.939 GB, free: 68.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/6.626, allocations: 109.8 kB / 2.939 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/6.626, allocations: 0 / 2.939 GB, free: 68.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001012/6.626, allocations: 49.41 kB / 2.939 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/6.626, allocations: 182.1 kB / 2.939 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/6.627, allocations: 228.2 kB / 2.939 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/6.627, allocations: 25.7 kB / 2.939 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/6.627, allocations: 131.9 kB / 2.939 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/6.627, allocations: 0 / 2.939 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/6.627, allocations: 0 / 2.939 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/6.627, allocations: 330.8 kB / 2.94 GB, free: 67.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/6.627, allocations: 8 kB / 2.94 GB, free: 67.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/6.627, allocations: 71.66 kB / 2.94 GB, free: 67.75 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/6.627, allocations: 12.81 kB / 2.94 GB, free: 67.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/6.627, allocations: 4 kB / 2.94 GB, free: 67.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001463/6.627, allocations: 89.36 kB / 2.94 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/6.627, allocations: 4 kB / 2.94 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/6.627, allocations: 4 kB / 2.94 GB, free: 67.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/6.627, allocations: 3.953 kB / 2.94 GB, free: 67.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/6.627, allocations: 8 kB / 2.94 GB, free: 67.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/6.627, allocations: 4 kB / 2.94 GB, free: 67.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/6.627, allocations: 19.86 kB / 2.94 GB, free: 67.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/6.627, allocations: 4 kB / 2.94 GB, free: 67.59 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 () * Number of clocked 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 0.0001025/6.627, allocations: 213.2 kB / 2.94 GB, free: 67.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/6.628, allocations: 120.8 kB / 2.94 GB, free: 67.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/6.628, allocations: 117.9 kB / 2.94 GB, free: 67.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/6.628, allocations: 186.6 kB / 2.94 GB, free: 66.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.501e-05/6.628, allocations: 184.2 kB / 2.941 GB, free: 66.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/6.628, allocations: 188.2 kB / 2.941 GB, free: 66.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/6.628, allocations: 449.2 kB / 2.941 GB, free: 66.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/6.628, allocations: 104.9 kB / 2.941 GB, free: 65.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/6.628, allocations: 104.9 kB / 2.941 GB, free: 65.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-05/6.628, allocations: 180.3 kB / 2.942 GB, free: 65.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/6.628, allocations: 188.1 kB / 2.942 GB, free: 65.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.573e-05/6.628, allocations: 180.3 kB / 2.942 GB, free: 65.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-05/6.628, allocations: 180.2 kB / 2.942 GB, free: 65.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/6.628, allocations: 323.5 kB / 2.942 GB, free: 64.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/6.628, allocations: 197.8 kB / 2.943 GB, free: 64.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/6.628, allocations: 184.3 kB / 2.943 GB, free: 64.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/6.628, allocations: 105 kB / 2.943 GB, free: 64.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/6.628, allocations: 180.2 kB / 2.943 GB, free: 64.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/6.629, allocations: 105 kB / 2.943 GB, free: 63.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001427/6.629, allocations: 184.4 kB / 2.943 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.629, allocations: 0 / 2.943 GB, free: 63.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000571/6.629, allocations: 99.97 kB / 2.943 GB, free: 63.68 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 () * Number of clocked 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.001375/6.631, allocations: 1.686 MB / 2.945 GB, free: 61.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.434e-05/6.631, allocations: 19.94 kB / 2.945 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.631, allocations: 0 / 2.945 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/6.631, allocations: 4.312 kB / 2.945 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/6.631, allocations: 0.5852 MB / 2.946 GB, free: 61.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/6.633, allocations: 1.555 MB / 2.947 GB, free: 59.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/6.633, allocations: 0.7282 MB / 2.948 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.266e-05/6.633, allocations: 21.55 kB / 2.948 GB, free: 58.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/6.633, allocations: 47.36 kB / 2.948 GB, free: 58.91 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/6.633, allocations: 0 / 2.948 GB, free: 58.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/6.67, allocations: 19.43 MB / 2.967 GB, free: 39.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/6.671, allocations: 180.4 kB / 2.967 GB, free: 39.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/8.882, allocations: 0 / 2.967 GB, free: 39.3 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)