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.0009531/0.0009531, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009365/0.0009365, allocations: 191 kB / 16.14 MB, free: 6.707 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6762/0.6762, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 54.56 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1199, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Validation.FlowSplitter_u): time 0.3627/0.4827, allocations: 163.9 MB / 0.7395 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005875/0.4886, allocations: 5.7 MB / 0.7451 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.4889, allocations: 2.938 kB / 0.7451 GB, free: 6.984 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.0004091/0.4893, allocations: 85.22 kB / 0.7452 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.4895, allocations: 51.69 kB / 0.7452 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.4896, allocations: 31.08 kB / 0.7453 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.4899, allocations: 260.7 kB / 0.7455 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.4901, allocations: 84.48 kB / 0.7456 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.4904, allocations: 90.67 kB / 0.7457 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.4905, allocations: 70.7 kB / 0.7457 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.4905, allocations: 12.03 kB / 0.7458 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.683e-05/0.4906, allocations: 6.656 kB / 0.7458 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.4906, allocations: 26.73 kB / 0.7458 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.4907, allocations: 70.95 kB / 0.7459 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.4909, allocations: 158.5 kB / 0.746 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4909, allocations: 3.938 kB / 0.746 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.82e-07/0.4909, allocations: 0 / 0.746 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4909, allocations: 0 / 0.746 GB, free: 6.383 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.0005529/0.4915, allocations: 445.2 kB / 0.7464 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4915, allocations: 8.781 kB / 0.7464 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.4916, allocations: 42.78 kB / 0.7465 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.4916, allocations: 22.19 kB / 0.7465 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4919, allocations: 243 kB / 0.7467 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4919, allocations: 8.516 kB / 0.7467 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.4919, allocations: 12.12 kB / 0.7468 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.4921, allocations: 172.1 kB / 0.7469 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4922, allocations: 0 / 0.7469 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4922, allocations: 2.75 kB / 0.7469 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4922, allocations: 6.734 kB / 0.7469 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.4923, allocations: 78.14 kB / 0.747 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.4931, allocations: 1.151 MB / 0.7481 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.4932, allocations: 170.5 kB / 0.7483 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.4932, allocations: 80.14 kB / 0.7484 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4932, allocations: 76.66 kB / 0.7484 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.4933, allocations: 113.8 kB / 0.7486 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4933, allocations: 1.375 kB / 0.7486 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.005e-05/0.4933, allocations: 45.7 kB / 0.7486 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4934, allocations: 183.5 kB / 0.7488 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.4936, allocations: 246.1 kB / 0.749 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4937, allocations: 25.7 kB / 0.749 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.4938, allocations: 133.5 kB / 0.7492 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.4938, allocations: 1.375 kB / 0.7492 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.4938, allocations: 23.22 kB / 0.7492 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/0.4939, allocations: 326.9 kB / 0.7495 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.4939, allocations: 9.5 kB / 0.7495 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.494, allocations: 70.5 kB / 0.7496 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.494, allocations: 55.88 kB / 0.7496 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.494, allocations: 3.938 kB / 0.7496 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001346/0.4942, allocations: 84 kB / 0.7497 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.4942, allocations: 9.438 kB / 0.7497 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4942, allocations: 1.312 kB / 0.7497 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4942, allocations: 5.406 kB / 0.7497 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.4943, allocations: 11.81 kB / 0.7497 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4943, allocations: 5.078 kB / 0.7497 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.4944, allocations: 17.03 kB / 0.7498 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.4944, allocations: 6.875 kB / 0.7498 GB, free: 2.668 MB / 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.000106/0.4945, allocations: 209.1 kB / 0.75 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.4946, allocations: 121.6 kB / 0.7501 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.4946, allocations: 128 kB / 0.7502 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.4947, allocations: 177.6 kB / 0.7504 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.832e-05/0.4948, allocations: 181.5 kB / 0.7505 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.392e-05/0.4948, allocations: 176.3 kB / 0.7507 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.495, allocations: 453.6 kB / 0.7511 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.548e-05/0.4951, allocations: 110.7 kB / 0.7512 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.4951, allocations: 105 kB / 0.7513 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-05/0.4952, allocations: 181.4 kB / 0.7515 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.4952, allocations: 177.5 kB / 0.7517 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.836e-05/0.4953, allocations: 184.2 kB / 0.7519 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.434e-05/0.4953, allocations: 181.4 kB / 0.752 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.4955, allocations: 323 kB / 0.7523 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.772e-05/0.4955, allocations: 198.7 kB / 0.7525 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.704e-05/0.4956, allocations: 185.8 kB / 0.7527 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.4957, allocations: 102.3 kB / 0.7528 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.4958, allocations: 193.6 kB / 0.753 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4958, allocations: 105.8 kB / 0.7531 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001524/0.496, allocations: 183.6 kB / 0.7533 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.496, allocations: 0 / 0.7533 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002263/0.4962, allocations: 20.31 kB / 0.7533 GB, free: 14.98 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.0003016/0.4965, allocations: 0.8213 MB / 0.7541 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.4966, allocations: 24.55 kB / 0.7541 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4966, allocations: 0 / 0.7541 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4966, allocations: 0 / 0.7541 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.4972, allocations: 0.5789 MB / 0.7547 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4988, allocations: 2.055 MB / 0.7567 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.499, allocations: 0.7262 MB / 0.7574 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.4991, allocations: 17.73 kB / 0.7574 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.4992, allocations: 38.8 kB / 0.7575 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.4992, allocations: 0 / 0.7575 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.257/1.756, allocations: 3.626 MB / 0.761 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.757, allocations: 180.8 kB / 0.7612 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/3.558, allocations: 0 / 0.7612 GB, free: 8.66 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 & /home/hudson/saved_omc/OMSimulator/install/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)