Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8003/0.8003, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001026/0.001026, allocations: 100.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.994e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4645, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.708, allocations: 1.68 GB / 2.314 GB, free: 54.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/4.708, allocations: 83.94 kB / 2.314 GB, free: 54.76 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .IDEAS.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/IDEAS 3.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .IDEAS.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/IDEAS 3.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/IDEAS 3.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.7739/5.482, allocations: 157.4 MB / 2.468 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.113e-06/5.482, allocations: 0 / 2.468 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.992e-05/5.482, allocations: 4 kB / 2.468 GB, free: 181.5 MB / 0.6823 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.0003571/5.483, allocations: 394.4 kB / 2.468 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/5.483, allocations: 8.031 kB / 2.468 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/5.483, allocations: 19.81 kB / 2.468 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/5.483, allocations: 266.7 kB / 2.468 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/5.483, allocations: 4 kB / 2.468 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/5.483, allocations: 8 kB / 2.468 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/5.483, allocations: 48.45 kB / 2.468 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/5.483, allocations: 160.3 kB / 2.468 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/5.483, allocations: 4 kB / 2.468 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/5.483, allocations: 3.953 kB / 2.468 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/5.483, allocations: 4 kB / 2.468 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/5.484, allocations: 1.11 MB / 2.47 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.731e-05/5.484, allocations: 169.1 kB / 2.47 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/5.484, allocations: 80.14 kB / 2.47 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/5.484, allocations: 75.28 kB / 2.47 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/5.484, allocations: 121.7 kB / 2.47 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/5.484, allocations: 0 / 2.47 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.025e-05/5.484, allocations: 33.61 kB / 2.47 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/5.484, allocations: 102.8 kB / 2.47 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/5.485, allocations: 154 kB / 2.47 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/5.485, allocations: 25.7 kB / 2.47 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/5.485, allocations: 144.5 kB / 2.47 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/5.485, allocations: 0 / 2.47 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/5.485, allocations: 0 / 2.47 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/5.485, allocations: 326.8 kB / 2.471 GB, free: 178 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/5.485, allocations: 8 kB / 2.471 GB, free: 178 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/5.485, allocations: 67.66 kB / 2.471 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/5.485, allocations: 19.98 kB / 2.471 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/5.485, allocations: 0 / 2.471 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001188/5.485, allocations: 65.53 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/5.485, allocations: 4 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/5.485, allocations: 4 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/5.485, allocations: 4.109 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/5.485, allocations: 15.94 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/5.485, allocations: 3.984 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/5.485, allocations: 4 kB / 2.471 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/5.485, allocations: 4 kB / 2.471 GB, free: 177.8 MB / 0.6823 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 6.347e-05/5.485, allocations: 180.3 kB / 2.471 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.828e-05/5.485, allocations: 146.4 kB / 2.471 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/5.485, allocations: 120.8 kB / 2.471 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/5.485, allocations: 118.2 kB / 2.471 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/5.485, allocations: 184.2 kB / 2.472 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/5.485, allocations: 180.6 kB / 2.472 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/5.485, allocations: 188.2 kB / 2.472 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/5.486, allocations: 421.7 kB / 2.472 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/5.486, allocations: 105 kB / 2.472 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/5.486, allocations: 109 kB / 2.473 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.95e-05/5.486, allocations: 180.2 kB / 2.473 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/5.486, allocations: 180.2 kB / 2.473 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.973e-05/5.486, allocations: 180.2 kB / 2.473 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.991e-05/5.486, allocations: 180.2 kB / 2.473 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/5.486, allocations: 313.1 kB / 2.474 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/5.486, allocations: 193.9 kB / 2.474 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/5.486, allocations: 180.3 kB / 2.474 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/5.486, allocations: 101 kB / 2.474 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/5.486, allocations: 192.1 kB / 2.474 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/5.486, allocations: 105 kB / 2.474 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.663e-05/5.486, allocations: 128.3 kB / 2.474 GB, free: 174 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.486, allocations: 0 / 2.474 GB, free: 174 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003668/5.487, allocations: 83.81 kB / 2.474 GB, free: 173.9 MB / 0.6823 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.001252/5.488, allocations: 1.801 MB / 2.476 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.2e-05/5.488, allocations: 16 kB / 2.476 GB, free: 172 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/5.488, allocations: 0 / 2.476 GB, free: 172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/5.488, allocations: 8.25 kB / 2.476 GB, free: 172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/5.488, allocations: 0.538 MB / 2.477 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/5.489, allocations: 262.6 kB / 2.477 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/5.489, allocations: 0.7313 MB / 2.478 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.738e-05/5.489, allocations: 12.42 kB / 2.478 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/5.489, allocations: 35.44 kB / 2.478 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/5.489, allocations: 0 / 2.478 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/5.521, allocations: 9.748 MB / 2.487 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/5.521, allocations: 125.2 kB / 2.487 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/7.565, allocations: 4 kB / 2.487 GB, free: 160.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)