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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7266/0.7266, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.48 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 80.21 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3526/0.4794, allocations: 166.1 MB / 0.7424 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005095/0.4845, allocations: 5.711 MB / 0.7479 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.4847, allocations: 9.75 kB / 0.748 GB, free: 4.652 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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.0003796/0.4851, allocations: 92.16 kB / 0.748 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.4852, allocations: 47.91 kB / 0.7481 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.4853, allocations: 41.11 kB / 0.7481 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.4856, allocations: 221 kB / 0.7483 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.4858, allocations: 94.67 kB / 0.7484 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.486, allocations: 101.4 kB / 0.7485 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.4861, allocations: 77.12 kB / 0.7486 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.4862, allocations: 13.53 kB / 0.7486 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.4862, allocations: 10.41 kB / 0.7486 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.4862, allocations: 27.36 kB / 0.7486 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.702e-05/0.4863, allocations: 75.11 kB / 0.7487 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.4865, allocations: 151.5 kB / 0.7489 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4865, allocations: 0 / 0.7489 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4865, allocations: 0 / 0.7489 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4865, allocations: 1.375 kB / 0.7489 GB, free: 4.039 MB / 0.5606 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.0005238/0.487, allocations: 440.2 kB / 0.7493 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.4871, allocations: 9.625 kB / 0.7493 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.4871, allocations: 46.67 kB / 0.7493 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.4872, allocations: 20 kB / 0.7494 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4874, allocations: 246.1 kB / 0.7496 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4875, allocations: 9.734 kB / 0.7496 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.4875, allocations: 12.25 kB / 0.7496 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4877, allocations: 171.2 kB / 0.7498 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4877, allocations: 0 / 0.7498 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4877, allocations: 10.75 kB / 0.7498 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4877, allocations: 2.75 kB / 0.7498 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.4878, allocations: 70.16 kB / 0.7499 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.4886, allocations: 1.155 MB / 0.751 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.4887, allocations: 173 kB / 0.7511 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.4887, allocations: 80.14 kB / 0.7512 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4888, allocations: 81.84 kB / 0.7513 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4888, allocations: 105.8 kB / 0.7514 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4888, allocations: 0 / 0.7514 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.4889, allocations: 41.42 kB / 0.7514 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.489, allocations: 184.3 kB / 0.7516 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.4892, allocations: 245.1 kB / 0.7519 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4892, allocations: 36.89 kB / 0.7519 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.4893, allocations: 131.5 kB / 0.752 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.4893, allocations: 0 / 0.752 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.4894, allocations: 25.2 kB / 0.752 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4895, allocations: 327.5 kB / 0.7523 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.4895, allocations: 5.344 kB / 0.7524 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.4896, allocations: 71.25 kB / 0.7524 GB, free: 484 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.4896, allocations: 48.72 kB / 0.7525 GB, free: 432 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4896, allocations: 0 / 0.7525 GB, free: 432 kB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.4898, allocations: 91.56 kB / 0.7526 GB, free: 364 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.4898, allocations: 5.031 kB / 0.7526 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4898, allocations: 2.781 kB / 0.7526 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4898, allocations: 7.922 kB / 0.7526 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.4899, allocations: 11.28 kB / 0.7526 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4899, allocations: 2.719 kB / 0.7526 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.49, allocations: 20.81 kB / 0.7526 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.49, allocations: 1.938 kB / 0.7526 GB, free: 336 kB / 0.5606 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.0001033/0.4901, allocations: 217 kB / 0.7528 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.4902, allocations: 116.7 kB / 0.7529 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.4902, allocations: 125.2 kB / 0.753 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/0.4903, allocations: 180.2 kB / 0.7532 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.462e-05/0.4904, allocations: 179 kB / 0.7534 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/0.4904, allocations: 188.3 kB / 0.7536 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.4907, allocations: 460.1 kB / 0.754 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/0.4907, allocations: 107.9 kB / 0.7541 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.4907, allocations: 104.9 kB / 0.7542 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-05/0.4908, allocations: 180.2 kB / 0.7544 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.4909, allocations: 186.8 kB / 0.7546 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.4909, allocations: 176.3 kB / 0.7547 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.438e-05/0.491, allocations: 180.2 kB / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.4911, allocations: 323.9 kB / 0.7552 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.4912, allocations: 198.6 kB / 0.7554 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.4913, allocations: 184.2 kB / 0.7556 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4914, allocations: 107.5 kB / 0.7557 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.4914, allocations: 176.3 kB / 0.7558 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.4915, allocations: 103.8 kB / 0.7559 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000153/0.4916, allocations: 187.8 kB / 0.7561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4916, allocations: 0 / 0.7561 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002453/0.4919, allocations: 17.28 kB / 0.7561 GB, free: 12.64 MB / 0.5762 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.0003187/0.4922, allocations: 0.8216 MB / 0.7569 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.4923, allocations: 28.05 kB / 0.757 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4923, allocations: 3.25 kB / 0.757 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.4923, allocations: 4 kB / 0.757 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.4929, allocations: 0.5031 MB / 0.7575 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.4946, allocations: 2.043 MB / 0.7595 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.4948, allocations: 0.7128 MB / 0.7602 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.995e-05/0.4949, allocations: 30.12 kB / 0.7602 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.495, allocations: 35.25 kB / 0.7602 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.495, allocations: 0 / 0.7602 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/0.5131, allocations: 3.82 MB / 0.7639 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/7.282, allocations: 4.656 kB / 0.764 GB, free: 6.031 MB / 0.5762 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Validation_FlowSplitter_u.fmu > IDEAS_IDEAS.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)