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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004446/0.004446, allocations: 104.4 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 188.7 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7956/0.7956, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.17 kB / 0.5851 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 80.91 MB / 0.6641 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.4422/0.5681, allocations: 166.1 MB / 0.8263 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.5734, allocations: 5.7 MB / 0.8319 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.5736, allocations: 8.844 kB / 0.8319 GB, free: 12.68 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal 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/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector 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/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.574, allocations: 100 kB / 0.832 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.5742, allocations: 53.95 kB / 0.8321 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.5743, allocations: 36.23 kB / 0.8321 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.5745, allocations: 213.8 kB / 0.8323 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.5747, allocations: 91.03 kB / 0.8324 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.5749, allocations: 104.4 kB / 0.8325 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.575, allocations: 72.14 kB / 0.8326 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5751, allocations: 9.438 kB / 0.8326 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.5751, allocations: 7.875 kB / 0.8326 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.5751, allocations: 31.7 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.5752, allocations: 76.39 kB / 0.8327 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.5754, allocations: 158.5 kB / 0.8328 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5754, allocations: 0 / 0.8328 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.113e-06/0.5754, allocations: 0 / 0.8328 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5754, allocations: 4 kB / 0.8328 GB, free: 12.06 MB / 0.6075 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.0005106/0.576, allocations: 444.1 kB / 0.8333 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.576, allocations: 10.8 kB / 0.8333 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.576, allocations: 43.44 kB / 0.8333 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.5761, allocations: 23.8 kB / 0.8333 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5764, allocations: 262.5 kB / 0.8336 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5764, allocations: 9.078 kB / 0.8336 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.5764, allocations: 14.41 kB / 0.8336 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.5767, allocations: 166.2 kB / 0.8338 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5767, allocations: 4 kB / 0.8338 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5767, allocations: 6.719 kB / 0.8338 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5767, allocations: 6.547 kB / 0.8338 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.5768, allocations: 79.02 kB / 0.8339 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.5776, allocations: 1.15 MB / 0.835 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.5777, allocations: 176 kB / 0.8351 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.5777, allocations: 84.14 kB / 0.8352 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.5778, allocations: 75.28 kB / 0.8353 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.5778, allocations: 105.8 kB / 0.8354 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5778, allocations: 0 / 0.8354 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.461e-05/0.5779, allocations: 47.44 kB / 0.8354 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.578, allocations: 178.1 kB / 0.8356 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.5782, allocations: 249.6 kB / 0.8359 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5782, allocations: 28.48 kB / 0.8359 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.5783, allocations: 141.4 kB / 0.836 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.5783, allocations: 0 / 0.836 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.5784, allocations: 18.81 kB / 0.836 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5785, allocations: 331.8 kB / 0.8364 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.5785, allocations: 13.19 kB / 0.8364 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.5786, allocations: 66 kB / 0.8364 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.5786, allocations: 48.61 kB / 0.8365 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5786, allocations: 7.938 kB / 0.8365 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001416/0.5788, allocations: 87.02 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5788, allocations: 5.688 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5788, allocations: 2.094 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5788, allocations: 2.406 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.5789, allocations: 7.625 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5789, allocations: 2.25 kB / 0.8366 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.579, allocations: 23.41 kB / 0.8366 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.579, allocations: 4 kB / 0.8366 GB, free: 8.324 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.5791, allocations: 213.8 kB / 0.8368 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.5792, allocations: 124 kB / 0.8369 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.5793, allocations: 115.6 kB / 0.837 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-05/0.5793, allocations: 186.3 kB / 0.8372 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.863e-05/0.5794, allocations: 184.4 kB / 0.8374 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/0.5794, allocations: 187.2 kB / 0.8376 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.5797, allocations: 453.2 kB / 0.838 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.5797, allocations: 104.9 kB / 0.8381 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.5798, allocations: 108.9 kB / 0.8382 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/0.5798, allocations: 178.4 kB / 0.8384 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/0.5799, allocations: 184.2 kB / 0.8386 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.373e-05/0.5799, allocations: 182.5 kB / 0.8387 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-05/0.58, allocations: 178.3 kB / 0.8389 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.5801, allocations: 322.2 kB / 0.8392 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.5802, allocations: 202.4 kB / 0.8394 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.5803, allocations: 183.2 kB / 0.8396 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.5804, allocations: 101 kB / 0.8397 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.5805, allocations: 182.7 kB / 0.8398 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.5805, allocations: 105 kB / 0.8399 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000156/0.5807, allocations: 184.2 kB / 0.8401 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5807, allocations: 0 / 0.8401 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002521/0.5809, allocations: 23.66 kB / 0.8401 GB, free: 4.629 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003364/0.5813, allocations: 0.8264 MB / 0.841 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.849e-05/0.5814, allocations: 24.7 kB / 0.841 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5814, allocations: 8 kB / 0.841 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/0.5814, allocations: 2.125 kB / 0.841 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.582, allocations: 0.5022 MB / 0.8415 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.5838, allocations: 2.04 MB / 0.8435 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5841, allocations: 0.716 MB / 0.8442 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.5842, allocations: 19.42 kB / 0.8442 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.5842, allocations: 43.11 kB / 0.8442 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5842, allocations: 0 / 0.8442 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.6023, allocations: 3.857 MB / 0.848 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.939, allocations: 17.09 kB / 0.848 GB, free: 14.84 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)