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.01017/0.01017, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.921/0.921, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.001367/0.001367, allocations: 96.53 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004257, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.644, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.466/6.11, allocations: 1.681 GB / 2.33 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/6.11, allocations: 82.89 kB / 2.33 GB, free: 0.5273 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.7997/6.91, allocations: 159.7 MB / 2.486 GB, free: 119 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.315e-06/6.91, allocations: 0 / 2.486 GB, free: 119 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.109e-05/6.91, allocations: 7.984 kB / 2.486 GB, free: 119 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.000451/6.91, allocations: 431.1 kB / 2.487 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/6.91, allocations: 8.031 kB / 2.487 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/6.911, allocations: 50.55 kB / 2.487 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/6.911, allocations: 15.81 kB / 2.487 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/6.911, allocations: 246.7 kB / 2.487 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/6.911, allocations: 12.23 kB / 2.487 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/6.911, allocations: 15.94 kB / 2.487 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/6.911, allocations: 175.8 kB / 2.487 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/6.911, allocations: 4 kB / 2.487 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/6.911, allocations: 8 kB / 2.487 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/6.911, allocations: 8 kB / 2.487 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.739e-05/6.911, allocations: 67.83 kB / 2.487 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/6.912, allocations: 1.164 MB / 2.488 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/6.912, allocations: 177.1 kB / 2.488 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/6.912, allocations: 75.28 kB / 2.488 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/6.912, allocations: 105.8 kB / 2.489 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/6.912, allocations: 3.938 kB / 2.489 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.991e-05/6.912, allocations: 49.5 kB / 2.489 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/6.912, allocations: 186 kB / 2.489 GB, free: 116 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/6.913, allocations: 224.1 kB / 2.489 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/6.913, allocations: 29.7 kB / 2.489 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/6.913, allocations: 127.9 kB / 2.489 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/6.913, allocations: 0 / 2.489 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/6.913, allocations: 4 kB / 2.489 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/6.913, allocations: 326.8 kB / 2.489 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/6.913, allocations: 11.94 kB / 2.49 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/6.913, allocations: 63.72 kB / 2.49 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/6.913, allocations: 23.98 kB / 2.49 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/6.913, allocations: 0 / 2.49 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001332/6.913, allocations: 81.38 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/6.913, allocations: 8 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/6.913, allocations: 3.938 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/6.913, allocations: 0 / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/6.913, allocations: 11.98 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/6.913, allocations: 7.938 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/6.913, allocations: 23.89 kB / 2.49 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/6.913, allocations: 8 kB / 2.49 GB, free: 115 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 () * 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 9.712e-05/6.913, allocations: 201.1 kB / 2.49 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/6.913, allocations: 116.8 kB / 2.49 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/6.914, allocations: 125.8 kB / 2.49 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/6.914, allocations: 176.3 kB / 2.49 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/6.914, allocations: 184.3 kB / 2.49 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/6.914, allocations: 180.2 kB / 2.491 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/6.914, allocations: 453.1 kB / 2.491 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/6.914, allocations: 108.9 kB / 2.491 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/6.914, allocations: 101 kB / 2.491 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.018e-05/6.914, allocations: 186.1 kB / 2.491 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/6.914, allocations: 184.2 kB / 2.492 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-05/6.914, allocations: 176.3 kB / 2.492 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.183e-05/6.914, allocations: 184.2 kB / 2.492 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/6.914, allocations: 327.5 kB / 2.492 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/6.914, allocations: 197.9 kB / 2.492 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/6.914, allocations: 184.2 kB / 2.493 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/6.914, allocations: 105 kB / 2.493 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/6.914, allocations: 180.2 kB / 2.493 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/6.914, allocations: 105 kB / 2.493 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001247/6.915, allocations: 188.5 kB / 2.493 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/6.915, allocations: 3.938 kB / 2.493 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005491/6.915, allocations: 95.98 kB / 2.493 GB, free: 111.1 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 () * 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.001214/6.916, allocations: 1.666 MB / 2.495 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/6.916, allocations: 23.92 kB / 2.495 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/6.916, allocations: 0 / 2.495 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/6.916, allocations: 0 / 2.495 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/6.917, allocations: 0.5717 MB / 2.496 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/6.918, allocations: 1.57 MB / 2.497 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/6.918, allocations: 0.7166 MB / 2.498 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.278e-05/6.918, allocations: 25.53 kB / 2.498 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/6.918, allocations: 43.42 kB / 2.498 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/6.918, allocations: 3.938 kB / 2.498 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/6.949, allocations: 19.23 MB / 2.517 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/6.95, allocations: 157.1 kB / 2.517 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/9.223, allocations: 4 kB / 2.517 GB, free: 86.97 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)