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.001386/0.001386, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 133.4 MB / 146.7 MB, free: 10.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.681/1.681, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009188, allocations: 94.23 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.46e-05, allocations: 2.219 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 82.3 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.124, allocations: 1.681 GB / 2.321 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.124, allocations: 80.86 kB / 2.321 GB, free: 202.8 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.3004/5.424, allocations: 159.4 MB / 2.477 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.452e-06/5.424, allocations: 0 / 2.477 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.602e-05/5.424, allocations: 8 kB / 2.477 GB, free: 59.75 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.0004102/5.425, allocations: 399.2 kB / 2.477 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/5.425, allocations: 12.03 kB / 2.477 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/5.425, allocations: 46.55 kB / 2.477 GB, free: 59.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/5.425, allocations: 15.81 kB / 2.477 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/5.425, allocations: 254.6 kB / 2.477 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/5.425, allocations: 4.234 kB / 2.478 GB, free: 58.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/5.426, allocations: 12 kB / 2.478 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/5.426, allocations: 181.9 kB / 2.478 GB, free: 58.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/5.426, allocations: 7.875 kB / 2.478 GB, free: 58.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/5.426, allocations: 8 kB / 2.478 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/5.426, allocations: 4 kB / 2.478 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/5.426, allocations: 63.92 kB / 2.478 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/5.427, allocations: 1.168 MB / 2.479 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/5.427, allocations: 165.1 kB / 2.479 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/5.427, allocations: 84.14 kB / 2.479 GB, free: 57.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/5.427, allocations: 79.31 kB / 2.479 GB, free: 57.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/5.427, allocations: 113.8 kB / 2.479 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/5.427, allocations: 0 / 2.479 GB, free: 56.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.811e-05/5.427, allocations: 45.72 kB / 2.479 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/5.427, allocations: 186 kB / 2.48 GB, free: 56.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/5.427, allocations: 228.9 kB / 2.48 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/5.427, allocations: 29.7 kB / 2.48 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/5.427, allocations: 135.9 kB / 2.48 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/5.427, allocations: 0 / 2.48 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/5.427, allocations: 0 / 2.48 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/5.428, allocations: 322.8 kB / 2.48 GB, free: 55.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/5.428, allocations: 8 kB / 2.48 GB, free: 55.94 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/5.428, allocations: 71.66 kB / 2.48 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/5.428, allocations: 19.98 kB / 2.48 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/5.428, allocations: 0 / 2.48 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/5.428, allocations: 85.38 kB / 2.48 GB, free: 55.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/5.428, allocations: 8 kB / 2.48 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/5.428, allocations: 0 / 2.48 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/5.428, allocations: 0 / 2.48 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/5.428, allocations: 11.98 kB / 2.48 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/5.428, allocations: 4 kB / 2.48 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/5.428, allocations: 19.8 kB / 2.48 GB, free: 55.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/5.428, allocations: 4 kB / 2.48 GB, free: 55.68 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.545e-05/5.428, allocations: 184.4 kB / 2.481 GB, free: 55.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/5.428, allocations: 120.8 kB / 2.481 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/5.428, allocations: 117.8 kB / 2.481 GB, free: 55.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/5.428, allocations: 180.2 kB / 2.481 GB, free: 55.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.422e-05/5.428, allocations: 180.4 kB / 2.481 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-05/5.428, allocations: 188.2 kB / 2.481 GB, free: 54.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/5.429, allocations: 457.1 kB / 2.482 GB, free: 54.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/5.429, allocations: 101 kB / 2.482 GB, free: 54.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/5.429, allocations: 104.9 kB / 2.482 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/5.429, allocations: 184.2 kB / 2.482 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/5.429, allocations: 180.2 kB / 2.482 GB, free: 53.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/5.429, allocations: 184.2 kB / 2.483 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.169e-05/5.429, allocations: 184.2 kB / 2.483 GB, free: 53.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/5.429, allocations: 324.5 kB / 2.483 GB, free: 52.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/5.429, allocations: 197.8 kB / 2.483 GB, free: 52.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/5.429, allocations: 188.2 kB / 2.483 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/5.429, allocations: 101 kB / 2.483 GB, free: 52.37 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/5.429, allocations: 180.2 kB / 2.484 GB, free: 52.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/5.429, allocations: 108.9 kB / 2.484 GB, free: 52.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000138/5.429, allocations: 181.4 kB / 2.484 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/5.429, allocations: 0 / 2.484 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005099/5.43, allocations: 95.98 kB / 2.484 GB, free: 51.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.001381/5.431, allocations: 1.672 MB / 2.486 GB, free: 50.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.806e-05/5.431, allocations: 24.17 kB / 2.486 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/5.431, allocations: 4.062 kB / 2.486 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/5.431, allocations: 0 / 2.486 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/5.432, allocations: 0.5763 MB / 2.486 GB, free: 49.51 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/5.432, allocations: 279.9 kB / 2.487 GB, free: 49.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/5.432, allocations: 0.7166 MB / 2.487 GB, free: 48.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.486e-05/5.433, allocations: 25.53 kB / 2.487 GB, free: 48.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/5.433, allocations: 43.42 kB / 2.487 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/5.433, allocations: 0 / 2.487 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03798/5.471, allocations: 22.01 MB / 2.509 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/5.471, allocations: 133.2 kB / 2.509 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/7.882, allocations: 0 / 2.509 GB, free: 26.24 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)