Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") translateModel(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7281/0.7281, allocations: 140.1 MB / 156 MB, free: 5.18 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.001056/0.001055, allocations: 186.4 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007906/0.0007906, allocations: 86.3 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001641/0.001641, allocations: 268 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004795, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3487, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.984/4.333, allocations: 2.032 GB / 2.772 GB, free: 178.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/4.333, allocations: 83.97 kB / 2.772 GB, free: 178.8 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .BuildingSystems.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/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[1].forward to inlet.forward. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/FlowSplitter_u.mo:68:5-68:46:writable] Warning: Connecting two signal sources while connecting outlet[2].forward to inlet.forward. Notification: Performance of FrontEnd - DAE generated: time 0.2926/4.626, allocations: 169.6 MB / 2.938 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/4.626, allocations: 4 kB / 2.938 GB, free: 5.301 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.086e-05/4.626, allocations: 8 kB / 2.938 GB, free: 5.293 MB / 0.6667 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.0004275/4.626, allocations: 419.4 kB / 2.938 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/4.626, allocations: 12.03 kB / 2.938 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/4.626, allocations: 16.75 kB / 2.938 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/4.627, allocations: 256.7 kB / 2.938 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/4.627, allocations: 8.609 kB / 2.938 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/4.627, allocations: 12.38 kB / 2.938 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/4.627, allocations: 176.4 kB / 2.938 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/4.627, allocations: 192 / 2.938 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/4.627, allocations: 15.88 kB / 2.938 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/4.627, allocations: 8 kB / 2.938 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/4.627, allocations: 67.84 kB / 2.939 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/4.628, allocations: 1.164 MB / 2.94 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/4.628, allocations: 177.1 kB / 2.94 GB, free: 2.77 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/4.628, allocations: 80.14 kB / 2.94 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/4.628, allocations: 79.28 kB / 2.94 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/4.628, allocations: 105.8 kB / 2.94 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/4.628, allocations: 0 / 2.94 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 8.031e-05/4.628, allocations: 45.45 kB / 2.94 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/4.628, allocations: 186.1 kB / 2.94 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/4.628, allocations: 245 kB / 2.941 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/4.628, allocations: 25.7 kB / 2.941 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/4.628, allocations: 139.9 kB / 2.941 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/4.628, allocations: 0 / 2.941 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/4.628, allocations: 0 / 2.941 GB, free: 1.812 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.588e-05/4.628, allocations: 330.8 kB / 2.941 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/4.628, allocations: 8 kB / 2.941 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/4.628, allocations: 67.72 kB / 2.941 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/4.629, allocations: 52.22 kB / 2.941 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/4.629, allocations: 0 / 2.941 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/4.629, allocations: 89.31 kB / 2.941 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/4.629, allocations: 8 kB / 2.941 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/4.629, allocations: 0 / 2.941 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/4.629, allocations: 3.984 kB / 2.941 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/4.629, allocations: 8.047 kB / 2.941 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/4.629, allocations: 8.094 kB / 2.941 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/4.629, allocations: 19.83 kB / 2.941 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/4.629, allocations: 4 kB / 2.941 GB, free: 1.168 MB / 0.6667 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 8.693e-05/4.629, allocations: 205 kB / 2.941 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/4.629, allocations: 116.8 kB / 2.942 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/4.629, allocations: 125.8 kB / 2.942 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/4.629, allocations: 176.3 kB / 2.942 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/4.629, allocations: 192.2 kB / 2.942 GB, free: 336 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/4.629, allocations: 176.3 kB / 2.942 GB, free: 152 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3398/4.969, allocations: 446.9 kB / 2.943 GB, free: 198.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/4.969, allocations: 104.5 kB / 2.943 GB, free: 198.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/4.969, allocations: 106.6 kB / 2.943 GB, free: 198.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/4.969, allocations: 181.6 kB / 2.943 GB, free: 198.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/4.969, allocations: 181.8 kB / 2.943 GB, free: 198.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.958e-05/4.969, allocations: 181.3 kB / 2.943 GB, free: 198.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-05/4.969, allocations: 185.1 kB / 2.944 GB, free: 197.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/4.969, allocations: 324.2 kB / 2.944 GB, free: 197.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.567e-05/4.969, allocations: 196 kB / 2.944 GB, free: 197.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/4.969, allocations: 182.6 kB / 2.944 GB, free: 197.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/4.97, allocations: 109.1 kB / 2.944 GB, free: 197.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/4.97, allocations: 183.6 kB / 2.944 GB, free: 197 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/4.97, allocations: 103.8 kB / 2.945 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002255/4.97, allocations: 186.1 kB / 2.945 GB, free: 196.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.1e-07/4.97, allocations: 0 / 2.945 GB, free: 196.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006503/4.971, allocations: 96.31 kB / 2.945 GB, free: 196.8 MB / 0.6667 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.001348/4.972, allocations: 1.012 MB / 2.946 GB, free: 196.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001084/4.972, allocations: 21.91 kB / 2.946 GB, free: 196.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/4.972, allocations: 3.469 kB / 2.946 GB, free: 196.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/4.972, allocations: 1.672 kB / 2.946 GB, free: 196.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/4.973, allocations: 0.576 MB / 2.946 GB, free: 196 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/4.973, allocations: 357.5 kB / 2.947 GB, free: 195.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/4.973, allocations: 0.7157 MB / 2.947 GB, free: 195 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.871e-05/4.973, allocations: 23.89 kB / 2.947 GB, free: 195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/4.973, allocations: 16.62 kB / 2.947 GB, free: 195 MB / 0.6667 GB Notification: Performance of SimCode: time 3.5e-07/4.973, allocations: 0 / 2.947 GB, free: 195 MB / 0.6667 GB Notification: Performance of Templates: time 0.02092/4.994, allocations: 14.24 MB / 2.961 GB, free: 194.7 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)