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: translateModel(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7509/0.7509, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.8 kB / 169.7 MB, free: 1.742 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.699/1.699, allocations: 205.1 MB / 404.5 MB, free: 1.652 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.0009384/0.0009385, allocations: 86.08 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.28e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1771, allocations: 76.76 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.074/6.251, allocations: 2.138 GB / 2.766 GB, free: 191.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/6.251, allocations: 83.95 kB / 2.766 GB, free: 191.7 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.2876/6.539, allocations: 166.7 MB / 2.929 GB, free: 21.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/6.539, allocations: 4 kB / 2.929 GB, free: 21.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.305e-05/6.539, allocations: 4 kB / 2.929 GB, free: 21.16 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.0004184/6.54, allocations: 403.2 kB / 2.929 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/6.54, allocations: 8.031 kB / 2.929 GB, free: 20.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/6.54, allocations: 23.7 kB / 2.929 GB, free: 20.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/6.54, allocations: 246.7 kB / 2.929 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/6.54, allocations: 12.23 kB / 2.929 GB, free: 20.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/6.54, allocations: 12 kB / 2.929 GB, free: 20.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/6.54, allocations: 183.8 kB / 2.929 GB, free: 20.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/6.54, allocations: 0 / 2.929 GB, free: 20.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/6.54, allocations: 7.984 kB / 2.929 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/6.54, allocations: 4 kB / 2.929 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/6.541, allocations: 67.86 kB / 2.929 GB, free: 20.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007585/6.541, allocations: 1.156 MB / 2.931 GB, free: 18.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.029e-05/6.541, allocations: 177.1 kB / 2.931 GB, free: 18.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/6.541, allocations: 80.14 kB / 2.931 GB, free: 18.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/6.541, allocations: 79.22 kB / 2.931 GB, free: 18.51 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/6.541, allocations: 113.8 kB / 2.931 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/6.541, allocations: 0 / 2.931 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 8.05e-05/6.542, allocations: 45.47 kB / 2.931 GB, free: 18.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/6.542, allocations: 182.1 kB / 2.931 GB, free: 18.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/6.542, allocations: 221.1 kB / 2.931 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/6.542, allocations: 29.7 kB / 2.932 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/6.542, allocations: 131.9 kB / 2.932 GB, free: 17.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/6.542, allocations: 3.984 kB / 2.932 GB, free: 17.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/6.542, allocations: 4 kB / 2.932 GB, free: 17.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/6.542, allocations: 326.8 kB / 2.932 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/6.542, allocations: 8 kB / 2.932 GB, free: 17.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/6.542, allocations: 71.66 kB / 2.932 GB, free: 17.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/6.542, allocations: 19.98 kB / 2.932 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/6.542, allocations: 0 / 2.932 GB, free: 17.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001387/6.542, allocations: 85.38 kB / 2.932 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/6.542, allocations: 4 kB / 2.932 GB, free: 17.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/6.542, allocations: 0 / 2.932 GB, free: 17.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/6.542, allocations: 7.953 kB / 2.932 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/6.542, allocations: 11.98 kB / 2.932 GB, free: 17.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/6.542, allocations: 3.938 kB / 2.932 GB, free: 17.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/6.543, allocations: 19.91 kB / 2.932 GB, free: 17.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/6.543, allocations: 7.938 kB / 2.932 GB, free: 17.14 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 8.043e-05/6.543, allocations: 184.3 kB / 2.932 GB, free: 16.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/6.543, allocations: 116.8 kB / 2.932 GB, free: 16.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/6.543, allocations: 125.8 kB / 2.933 GB, free: 16.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/6.543, allocations: 176.3 kB / 2.933 GB, free: 16.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/6.543, allocations: 184.2 kB / 2.933 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/6.543, allocations: 188.2 kB / 2.933 GB, free: 16.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/6.543, allocations: 445.2 kB / 2.934 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/6.543, allocations: 109 kB / 2.934 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/6.543, allocations: 113 kB / 2.934 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.762e-05/6.543, allocations: 176.3 kB / 2.934 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/6.543, allocations: 184.2 kB / 2.934 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.673e-05/6.543, allocations: 180.3 kB / 2.934 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-05/6.543, allocations: 180.2 kB / 2.934 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.792e-05/6.543, allocations: 320.5 kB / 2.935 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/6.543, allocations: 201.8 kB / 2.935 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/6.544, allocations: 184.2 kB / 2.935 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/6.544, allocations: 104.9 kB / 2.935 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/6.544, allocations: 180.3 kB / 2.935 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/6.544, allocations: 105 kB / 2.935 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000132/6.544, allocations: 193.2 kB / 2.936 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.544, allocations: 4 kB / 2.936 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005623/6.544, allocations: 95.98 kB / 2.936 GB, free: 13.26 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.001151/6.546, allocations: 1.025 MB / 2.937 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.917e-05/6.546, allocations: 20.19 kB / 2.937 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/6.546, allocations: 3.938 kB / 2.937 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/6.546, allocations: 0 / 2.937 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/6.546, allocations: 0.5737 MB / 2.937 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/6.547, allocations: 230.2 kB / 2.938 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/6.547, allocations: 0.7244 MB / 2.938 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.498e-05/6.547, allocations: 21.53 kB / 2.938 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/6.547, allocations: 15.44 kB / 2.938 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/6.547, allocations: 0 / 2.938 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of Templates: time 0.4547/7.002, allocations: 17.08 MB / 2.955 GB, free: 185.8 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)