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.001999/0.001999, allocations: 171.9 kB / 7.646 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 1.27/1.27, allocations: 133.6 MB / 141.6 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.499/2.499, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001566/0.001566, allocations: 97.7 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.128e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7779/0.778, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.068/7.846, allocations: 1.68 GB / 2.314 GB, free: 94.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/7.847, allocations: 79.95 kB / 2.314 GB, free: 94.41 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 1.203/9.05, allocations: 157.4 MB / 2.468 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.647e-06/9.05, allocations: 0 / 2.468 GB, free: 213.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.509e-05/9.05, allocations: 11.91 kB / 2.468 GB, free: 213.4 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.0005172/9.051, allocations: 395 kB / 2.468 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/9.051, allocations: 16.03 kB / 2.468 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/9.051, allocations: 15.81 kB / 2.468 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/9.052, allocations: 257.9 kB / 2.468 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/9.052, allocations: 4 kB / 2.468 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/9.052, allocations: 8 kB / 2.468 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/9.052, allocations: 48.45 kB / 2.468 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/9.052, allocations: 164.7 kB / 2.468 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/9.052, allocations: 0 / 2.468 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/9.052, allocations: 4 kB / 2.468 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/9.052, allocations: 3.953 kB / 2.468 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/9.053, allocations: 1.114 MB / 2.47 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.05e-05/9.053, allocations: 165.1 kB / 2.47 GB, free: 211 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/9.053, allocations: 84.14 kB / 2.47 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/9.053, allocations: 75.28 kB / 2.47 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/9.053, allocations: 109.8 kB / 2.47 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/9.054, allocations: 0 / 2.47 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001141/9.054, allocations: 49.48 kB / 2.47 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/9.054, allocations: 102.8 kB / 2.47 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/9.054, allocations: 150 kB / 2.47 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/9.054, allocations: 25.7 kB / 2.47 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/9.054, allocations: 144.5 kB / 2.47 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/9.054, allocations: 0 / 2.47 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/9.054, allocations: 4 kB / 2.47 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001009/9.054, allocations: 323.6 kB / 2.471 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/9.054, allocations: 4 kB / 2.471 GB, free: 209.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/9.054, allocations: 63.72 kB / 2.471 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/9.054, allocations: 19.94 kB / 2.471 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/9.054, allocations: 448 / 2.471 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001802/9.055, allocations: 73.52 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/9.055, allocations: 4 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/9.055, allocations: 4.156 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/9.055, allocations: 7.938 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/9.055, allocations: 11.94 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/9.055, allocations: 3.953 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/9.055, allocations: 4 kB / 2.471 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/9.055, allocations: 4 kB / 2.471 GB, free: 209.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 () * 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.0001256/9.055, allocations: 180.2 kB / 2.471 GB, free: 209.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001046/9.055, allocations: 154.4 kB / 2.471 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/9.055, allocations: 112.9 kB / 2.471 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/9.055, allocations: 118.1 kB / 2.471 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/9.055, allocations: 184.2 kB / 2.472 GB, free: 208.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.594e-05/9.055, allocations: 176.3 kB / 2.472 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.107e-05/9.055, allocations: 180.3 kB / 2.472 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/9.056, allocations: 429.8 kB / 2.472 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/9.056, allocations: 105 kB / 2.472 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/9.056, allocations: 101 kB / 2.473 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.051e-05/9.056, allocations: 184.2 kB / 2.473 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/9.056, allocations: 180.2 kB / 2.473 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.571e-05/9.056, allocations: 180.3 kB / 2.473 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.123e-05/9.056, allocations: 192.1 kB / 2.473 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/9.056, allocations: 305.2 kB / 2.474 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/9.056, allocations: 193.9 kB / 2.474 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/9.056, allocations: 184.3 kB / 2.474 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/9.056, allocations: 105 kB / 2.474 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/9.057, allocations: 184.2 kB / 2.474 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/9.057, allocations: 104.9 kB / 2.474 GB, free: 206 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001063/9.057, allocations: 132.2 kB / 2.474 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/9.057, allocations: 0 / 2.474 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000593/9.057, allocations: 75.83 kB / 2.474 GB, free: 205.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 () * 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.002172/9.059, allocations: 1.808 MB / 2.476 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001382/9.06, allocations: 19.98 kB / 2.476 GB, free: 204 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/9.06, allocations: 4.312 kB / 2.476 GB, free: 204 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-06/9.06, allocations: 0 / 2.476 GB, free: 204 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/9.06, allocations: 0.5302 MB / 2.477 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/9.061, allocations: 278.5 kB / 2.477 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/9.061, allocations: 0.7236 MB / 2.478 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.79e-05/9.061, allocations: 8.422 kB / 2.478 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/9.061, allocations: 35.42 kB / 2.478 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/9.061, allocations: 3.938 kB / 2.478 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4882/9.549, allocations: 9.749 MB / 2.487 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/9.55, allocations: 134.1 kB / 2.487 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/12.55, allocations: 0 / 2.487 GB, free: 192.4 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)