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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.9192/0.9192, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 178.4 kB / 187.2 MB, free: 11.91 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 441.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008817, allocations: 103.1 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 275.8 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.626e-05, allocations: 4 kB / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5245, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.944, allocations: 1.678 GB / 2.442 GB, free: 101.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/4.945, allocations: 89.3 kB / 2.442 GB, free: 101.7 MB / 0.698 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.833/5.778, allocations: 159.5 MB / 2.598 GB, free: 222.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/5.778, allocations: 0 / 2.598 GB, free: 222.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.217e-05/5.778, allocations: 7.984 kB / 2.598 GB, free: 222.1 MB / 0.698 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.0003922/5.778, allocations: 395.2 kB / 2.598 GB, free: 221.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/5.778, allocations: 8.031 kB / 2.598 GB, free: 221.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/5.778, allocations: 23.81 kB / 2.598 GB, free: 221.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/5.779, allocations: 251.2 kB / 2.599 GB, free: 221.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/5.779, allocations: 10.64 kB / 2.599 GB, free: 221.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/5.779, allocations: 12 kB / 2.599 GB, free: 221.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/5.779, allocations: 175.8 kB / 2.599 GB, free: 221.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/5.779, allocations: 4 kB / 2.599 GB, free: 221.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/5.779, allocations: 8 kB / 2.599 GB, free: 221.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/5.779, allocations: 0 / 2.599 GB, free: 221.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/5.779, allocations: 63.86 kB / 2.599 GB, free: 221.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/5.78, allocations: 1.177 MB / 2.6 GB, free: 219.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/5.78, allocations: 173.1 kB / 2.6 GB, free: 219.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/5.78, allocations: 80.14 kB / 2.6 GB, free: 219.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/5.78, allocations: 75.28 kB / 2.6 GB, free: 219.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/5.78, allocations: 109.8 kB / 2.6 GB, free: 219.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/5.78, allocations: 0 / 2.6 GB, free: 219.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.387e-05/5.78, allocations: 45.52 kB / 2.601 GB, free: 219.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/5.78, allocations: 182 kB / 2.601 GB, free: 219.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/5.78, allocations: 229 kB / 2.601 GB, free: 218.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/5.78, allocations: 25.7 kB / 2.601 GB, free: 218.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/5.78, allocations: 130.3 kB / 2.601 GB, free: 218.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/5.78, allocations: 4 kB / 2.601 GB, free: 218.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/5.78, allocations: 0 / 2.601 GB, free: 218.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/5.781, allocations: 330.8 kB / 2.601 GB, free: 218.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/5.781, allocations: 8 kB / 2.601 GB, free: 218.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/5.781, allocations: 59.73 kB / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/5.781, allocations: 23.92 kB / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/5.781, allocations: 0 / 2.601 GB, free: 218.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001364/5.781, allocations: 85.42 kB / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/5.781, allocations: 8.156 kB / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/5.781, allocations: 7.938 kB / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/5.781, allocations: 0 / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/5.781, allocations: 11.94 kB / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/5.781, allocations: 0 / 2.602 GB, free: 218.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/5.781, allocations: 22.58 kB / 2.602 GB, free: 218.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/5.781, allocations: 0 / 2.602 GB, free: 218.1 MB / 0.698 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 7.493e-05/5.781, allocations: 184.3 kB / 2.602 GB, free: 218 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/5.781, allocations: 120.8 kB / 2.602 GB, free: 217.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/5.781, allocations: 125.8 kB / 2.602 GB, free: 217.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/5.781, allocations: 180.2 kB / 2.602 GB, free: 217.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/5.781, allocations: 180.2 kB / 2.602 GB, free: 217.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/5.781, allocations: 180.7 kB / 2.603 GB, free: 217.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/5.782, allocations: 457.1 kB / 2.603 GB, free: 216.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/5.782, allocations: 108.9 kB / 2.603 GB, free: 216.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/5.782, allocations: 105 kB / 2.603 GB, free: 216.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.781e-05/5.782, allocations: 184.1 kB / 2.603 GB, free: 216.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/5.782, allocations: 180.3 kB / 2.604 GB, free: 216.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-05/5.782, allocations: 182 kB / 2.604 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.492e-05/5.782, allocations: 180.2 kB / 2.604 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.639e-05/5.782, allocations: 327.5 kB / 2.604 GB, free: 215.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/5.782, allocations: 197.9 kB / 2.604 GB, free: 215.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/5.782, allocations: 180.2 kB / 2.605 GB, free: 214.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/5.782, allocations: 105.1 kB / 2.605 GB, free: 214.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/5.782, allocations: 180.3 kB / 2.605 GB, free: 214.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/5.782, allocations: 112.9 kB / 2.605 GB, free: 214.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001206/5.782, allocations: 181.4 kB / 2.605 GB, free: 214.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.782, allocations: 0 / 2.605 GB, free: 214.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005078/5.783, allocations: 103.3 kB / 2.605 GB, free: 214.3 MB / 0.698 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.00108/5.784, allocations: 1.005 MB / 2.606 GB, free: 213.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/5.784, allocations: 23.92 kB / 2.606 GB, free: 213.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/5.784, allocations: 320 / 2.606 GB, free: 213.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/5.784, allocations: 4 kB / 2.606 GB, free: 213.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/5.784, allocations: 0.5813 MB / 2.607 GB, free: 212.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/5.785, allocations: 228 kB / 2.607 GB, free: 212.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/5.785, allocations: 0.7205 MB / 2.608 GB, free: 211.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.798e-05/5.785, allocations: 25.53 kB / 2.608 GB, free: 211.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/5.785, allocations: 15.44 kB / 2.608 GB, free: 211.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/5.785, allocations: 0 / 2.608 GB, free: 211.6 MB / 0.698 GB Notification: Performance of Templates: time 0.01898/5.804, allocations: 16.96 MB / 2.624 GB, free: 194.6 MB / 0.698 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)