Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="IDEAS_dev_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.007404/0.007404, allocations: 170.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7657/0.7657, allocations: 135.2 MB / 151 MB, free: 13.79 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.911/1.911, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.00104/0.00104, allocations: 94.28 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.000441, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6173, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.881, allocations: 1.681 GB / 2.33 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/5.882, allocations: 83.95 kB / 2.33 GB, free: 38.08 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.8346/6.716, allocations: 159.7 MB / 2.486 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.867e-06/6.716, allocations: 0 / 2.486 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.02e-05/6.716, allocations: 7.938 kB / 2.486 GB, free: 151.7 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.0006516/6.717, allocations: 428.2 kB / 2.487 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.581e-05/6.717, allocations: 8.031 kB / 2.487 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/6.717, allocations: 46.55 kB / 2.487 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/6.717, allocations: 15.81 kB / 2.487 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/6.718, allocations: 248.5 kB / 2.487 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/6.718, allocations: 12.17 kB / 2.487 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/6.718, allocations: 15.98 kB / 2.487 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/6.718, allocations: 179.8 kB / 2.487 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/6.718, allocations: 4 kB / 2.487 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/6.718, allocations: 4.219 kB / 2.487 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/6.718, allocations: 4 kB / 2.487 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/6.718, allocations: 71.78 kB / 2.487 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/6.719, allocations: 1.16 MB / 2.488 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/6.719, allocations: 177.1 kB / 2.488 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/6.719, allocations: 79.28 kB / 2.488 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/6.719, allocations: 105.8 kB / 2.489 GB, free: 149 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/6.719, allocations: 0 / 2.489 GB, free: 149 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.856e-05/6.719, allocations: 41.55 kB / 2.489 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/6.719, allocations: 186.1 kB / 2.489 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/6.72, allocations: 232.1 kB / 2.489 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/6.72, allocations: 25.7 kB / 2.489 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/6.72, allocations: 136 kB / 2.489 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-06/6.72, allocations: 0 / 2.489 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/6.72, allocations: 0 / 2.489 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/6.72, allocations: 326.8 kB / 2.489 GB, free: 148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/6.72, allocations: 11.94 kB / 2.489 GB, free: 148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/6.72, allocations: 67.72 kB / 2.49 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/6.72, allocations: 15.98 kB / 2.49 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/6.72, allocations: 0 / 2.49 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001685/6.72, allocations: 93.33 kB / 2.49 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/6.72, allocations: 4 kB / 2.49 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/6.72, allocations: 0 / 2.49 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/6.72, allocations: 7.938 kB / 2.49 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/6.72, allocations: 11.98 kB / 2.49 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/6.72, allocations: 3.938 kB / 2.49 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.772e-05/6.72, allocations: 23.78 kB / 2.49 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/6.72, allocations: 0 / 2.49 GB, free: 147.7 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 0.0001193/6.721, allocations: 209.3 kB / 2.49 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/6.721, allocations: 120.8 kB / 2.49 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/6.721, allocations: 125.8 kB / 2.49 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/6.721, allocations: 176.3 kB / 2.49 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.454e-05/6.721, allocations: 176.3 kB / 2.49 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/6.721, allocations: 180.2 kB / 2.491 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/6.721, allocations: 457.2 kB / 2.491 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/6.721, allocations: 104.9 kB / 2.491 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/6.721, allocations: 105 kB / 2.491 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-05/6.721, allocations: 186.4 kB / 2.491 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/6.721, allocations: 184.3 kB / 2.492 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.572e-05/6.721, allocations: 184.3 kB / 2.492 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/6.721, allocations: 184.2 kB / 2.492 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/6.721, allocations: 323.6 kB / 2.492 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/6.721, allocations: 201.9 kB / 2.493 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/6.722, allocations: 180.2 kB / 2.493 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/6.722, allocations: 112.9 kB / 2.493 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/6.722, allocations: 180.3 kB / 2.493 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/6.722, allocations: 104.9 kB / 2.493 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001392/6.722, allocations: 184.5 kB / 2.493 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.722, allocations: 0 / 2.493 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005871/6.722, allocations: 95.98 kB / 2.493 GB, free: 143.8 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.001335/6.724, allocations: 1.66 MB / 2.495 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/6.724, allocations: 23.92 kB / 2.495 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/6.724, allocations: 0 / 2.495 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/6.724, allocations: 4 kB / 2.495 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/6.724, allocations: 0.5752 MB / 2.496 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/6.726, allocations: 1.567 MB / 2.497 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/6.726, allocations: 0.7166 MB / 2.498 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.268e-05/6.726, allocations: 25.53 kB / 2.498 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/6.726, allocations: 43.42 kB / 2.498 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of SimCode: time 4.4e-07/6.726, allocations: 0 / 2.498 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/6.761, allocations: 19.25 MB / 2.517 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/6.762, allocations: 156.3 kB / 2.517 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/9.133, allocations: 4.062 kB / 2.517 GB, free: 119.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)