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.001495/0.001495, allocations: 174.5 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.7257/0.7257, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.693/1.693, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.001069/0.001069, allocations: 85.97 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.913e-05/4.925e-05, allocations: 6.609 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1713, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.803/4.975, allocations: 1.681 GB / 2.321 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/4.975, allocations: 83.73 kB / 2.321 GB, free: 254.6 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.2886/5.263, allocations: 159.4 MB / 2.477 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/5.263, allocations: 0 / 2.477 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.255e-05/5.264, allocations: 8 kB / 2.477 GB, free: 91.68 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.0004401/5.264, allocations: 401 kB / 2.477 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/5.264, allocations: 12.03 kB / 2.477 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/5.264, allocations: 46.55 kB / 2.477 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/5.264, allocations: 15.81 kB / 2.477 GB, free: 91.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/5.265, allocations: 253.7 kB / 2.478 GB, free: 90.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/5.265, allocations: 12.23 kB / 2.478 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/5.265, allocations: 12 kB / 2.478 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/5.265, allocations: 173.9 kB / 2.478 GB, free: 90.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/5.265, allocations: 11.94 kB / 2.478 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/5.265, allocations: 4 kB / 2.478 GB, free: 90.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/5.265, allocations: 8 kB / 2.478 GB, free: 90.63 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/5.265, allocations: 59.92 kB / 2.478 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/5.266, allocations: 1.164 MB / 2.479 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/5.266, allocations: 173.1 kB / 2.479 GB, free: 89.15 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/5.266, allocations: 80.14 kB / 2.479 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/5.266, allocations: 83.31 kB / 2.479 GB, free: 88.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/5.266, allocations: 105.8 kB / 2.479 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 3.857e-06/5.266, allocations: 3.984 kB / 2.479 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.441e-05/5.266, allocations: 53.66 kB / 2.479 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/5.266, allocations: 182 kB / 2.48 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/5.266, allocations: 228.9 kB / 2.48 GB, free: 88.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/5.266, allocations: 25.7 kB / 2.48 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/5.267, allocations: 135.9 kB / 2.48 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/5.267, allocations: 0 / 2.48 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/5.267, allocations: 0 / 2.48 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/5.267, allocations: 326.8 kB / 2.48 GB, free: 87.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/5.267, allocations: 16 kB / 2.48 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/5.267, allocations: 71.59 kB / 2.48 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.516e-05/5.267, allocations: 19.98 kB / 2.48 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/5.267, allocations: 0 / 2.48 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001506/5.267, allocations: 85.38 kB / 2.48 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/5.267, allocations: 4 kB / 2.48 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.267, allocations: 0 / 2.48 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/5.267, allocations: 4 kB / 2.48 GB, free: 87.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/5.267, allocations: 12.14 kB / 2.48 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/5.267, allocations: 4 kB / 2.48 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/5.267, allocations: 15.8 kB / 2.48 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/5.267, allocations: 4 kB / 2.48 GB, free: 87.61 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.043e-05/5.267, allocations: 188.2 kB / 2.481 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/5.267, allocations: 116.8 kB / 2.481 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/5.267, allocations: 117.8 kB / 2.481 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/5.267, allocations: 188.2 kB / 2.481 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.15e-05/5.267, allocations: 176.3 kB / 2.481 GB, free: 86.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/5.267, allocations: 184.2 kB / 2.481 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/5.268, allocations: 449.1 kB / 2.482 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/5.268, allocations: 101 kB / 2.482 GB, free: 86.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/5.268, allocations: 112.9 kB / 2.482 GB, free: 85.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-05/5.268, allocations: 184.3 kB / 2.482 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/5.268, allocations: 180.2 kB / 2.482 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-05/5.268, allocations: 176.3 kB / 2.483 GB, free: 85.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.173e-05/5.268, allocations: 180.3 kB / 2.483 GB, free: 85.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/5.268, allocations: 332.5 kB / 2.483 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/5.268, allocations: 193.8 kB / 2.483 GB, free: 84.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/5.268, allocations: 188.2 kB / 2.483 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/5.268, allocations: 101 kB / 2.483 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/5.268, allocations: 180.2 kB / 2.484 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/5.268, allocations: 113 kB / 2.484 GB, free: 84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001362/5.268, allocations: 185.4 kB / 2.484 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/5.268, allocations: 0 / 2.484 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005266/5.269, allocations: 95.98 kB / 2.484 GB, free: 83.73 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.001426/5.27, allocations: 1.669 MB / 2.486 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.727e-05/5.271, allocations: 23.92 kB / 2.486 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/5.271, allocations: 0 / 2.486 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/5.271, allocations: 0 / 2.486 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/5.271, allocations: 0.5778 MB / 2.486 GB, free: 81.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/5.272, allocations: 279.8 kB / 2.487 GB, free: 81.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/5.272, allocations: 0.7244 MB / 2.487 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.144e-05/5.272, allocations: 21.53 kB / 2.487 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/5.272, allocations: 39.42 kB / 2.487 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/5.272, allocations: 0 / 2.487 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/5.314, allocations: 22.01 MB / 2.509 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/5.314, allocations: 141.5 kB / 2.509 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/7.677, allocations: 4 kB / 2.509 GB, free: 58.17 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)