Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u") translateModel(IBPSA.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 188.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.444/0.444, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 221.4 MB / 342.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 95.02 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.424e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4457, allocations: 72.3 MB / 0.5529 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.393/3.839, allocations: 1.67 GB / 2.223 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/3.839, allocations: 79.95 kB / 2.223 GB, free: 154.6 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .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/IBPSA 4.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .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/IBPSA 4.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/IBPSA 4.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: time 0.5521/4.391, allocations: 159 MB / 2.379 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.321e-05/4.391, allocations: 6.844 kB / 2.379 GB, free: 188.7 MB / 0.6042 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.0004085/4.392, allocations: 399.9 kB / 2.379 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/4.392, allocations: 7.594 kB / 2.379 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/4.392, allocations: 22.75 kB / 2.379 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/4.392, allocations: 258.3 kB / 2.379 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/4.392, allocations: 6.938 kB / 2.379 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/4.392, allocations: 7.312 kB / 2.379 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/4.392, allocations: 54.03 kB / 2.379 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/4.392, allocations: 157.9 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/4.393, allocations: 3.844 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/4.393, allocations: 3.781 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/4.393, allocations: 3.75 kB / 2.379 GB, free: 188 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/4.393, allocations: 1.109 MB / 2.38 GB, free: 187 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/4.393, allocations: 165.9 kB / 2.381 GB, free: 186.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/4.393, allocations: 86.66 kB / 2.381 GB, free: 186.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/4.393, allocations: 84.38 kB / 2.381 GB, free: 186.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/4.393, allocations: 105.8 kB / 2.381 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/4.393, allocations: 0 / 2.381 GB, free: 186.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.109e-05/4.394, allocations: 40.14 kB / 2.381 GB, free: 186.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/4.394, allocations: 102.8 kB / 2.381 GB, free: 186.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/4.394, allocations: 163.2 kB / 2.381 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/4.394, allocations: 25.7 kB / 2.381 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/4.394, allocations: 131.5 kB / 2.381 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/4.394, allocations: 0 / 2.381 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/4.394, allocations: 0 / 2.381 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/4.394, allocations: 322.9 kB / 2.382 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/4.394, allocations: 9.156 kB / 2.382 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/4.394, allocations: 68.55 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/4.394, allocations: 17.44 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/4.394, allocations: 0 / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/4.394, allocations: 77.52 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/4.394, allocations: 6.938 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/4.394, allocations: 0 / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/4.394, allocations: 0 / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/4.394, allocations: 11.38 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/4.394, allocations: 2.906 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/4.394, allocations: 7.016 kB / 2.382 GB, free: 185.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/4.394, allocations: 0 / 2.382 GB, free: 185.8 MB / 0.6042 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.063e-05/4.394, allocations: 184.4 kB / 2.382 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/4.394, allocations: 121.8 kB / 2.382 GB, free: 185.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/4.395, allocations: 112 kB / 2.382 GB, free: 185.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/4.395, allocations: 180.1 kB / 2.382 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/4.395, allocations: 182.7 kB / 2.383 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.908e-05/4.395, allocations: 179.8 kB / 2.383 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/4.395, allocations: 431.5 kB / 2.383 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/4.395, allocations: 108.8 kB / 2.383 GB, free: 184.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/4.395, allocations: 109 kB / 2.383 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.811e-05/4.395, allocations: 184.4 kB / 2.384 GB, free: 184 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/4.395, allocations: 178.8 kB / 2.384 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-05/4.395, allocations: 183.9 kB / 2.384 GB, free: 183.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-05/4.395, allocations: 178.9 kB / 2.384 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.171e-05/4.395, allocations: 319.2 kB / 2.384 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/4.395, allocations: 185.3 kB / 2.385 GB, free: 183 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/4.395, allocations: 181 kB / 2.385 GB, free: 182.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/4.395, allocations: 108.2 kB / 2.385 GB, free: 182.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/4.395, allocations: 182.6 kB / 2.385 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/4.395, allocations: 103.7 kB / 2.385 GB, free: 182.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.117e-05/4.395, allocations: 126.9 kB / 2.385 GB, free: 182.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003873/4.396, allocations: 80.22 kB / 2.385 GB, free: 182.3 MB / 0.6042 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.001104/4.397, allocations: 1.168 MB / 2.386 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.542e-05/4.397, allocations: 17.06 kB / 2.386 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/4.397, allocations: 0 / 2.386 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/4.397, allocations: 0 / 2.386 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/4.397, allocations: 0.5416 MB / 2.387 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/4.398, allocations: 213.4 kB / 2.387 GB, free: 181.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/4.398, allocations: 0.7348 MB / 2.388 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/4.398, allocations: 0 / 2.388 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01078/4.409, allocations: 6.641 MB / 2.394 GB, free: 180.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)