Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="BuildingSystems_BuildingSystems_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.001002/0.001003, 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.001017/0.001018, allocations: 198.5 kB / 16.14 MB, free: 6.715 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 280.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8918/0.8918, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 102.8 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1454, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u): time 0.4596/0.6051, allocations: 163.9 MB / 0.8396 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004493/0.6096, allocations: 5.707 MB / 0.8451 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.6098, allocations: 9.156 kB / 0.8452 GB, free: 15.18 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0004182/0.6103, allocations: 78.2 kB / 0.8452 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.6104, allocations: 48.34 kB / 0.8453 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.6106, allocations: 34.61 kB / 0.8453 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.6109, allocations: 261.9 kB / 0.8456 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.6111, allocations: 82.25 kB / 0.8456 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.6113, allocations: 91.75 kB / 0.8457 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.6114, allocations: 69.98 kB / 0.8458 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.6114, allocations: 7 kB / 0.8458 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.558e-05/0.6115, allocations: 10.84 kB / 0.8458 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.6115, allocations: 31.38 kB / 0.8458 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.676e-05/0.6116, allocations: 63.09 kB / 0.8459 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.6118, allocations: 154.6 kB / 0.846 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6118, allocations: 1.438 kB / 0.846 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6118, allocations: 0 / 0.846 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6118, allocations: 0 / 0.846 GB, free: 14.63 MB / 0.5762 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.0005787/0.6124, allocations: 444 kB / 0.8465 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6124, allocations: 9.625 kB / 0.8465 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.6125, allocations: 46.69 kB / 0.8465 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.6125, allocations: 24.05 kB / 0.8465 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.6128, allocations: 239.3 kB / 0.8468 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.6128, allocations: 9.734 kB / 0.8468 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.6128, allocations: 12.25 kB / 0.8468 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.6131, allocations: 175.5 kB / 0.847 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6131, allocations: 3.984 kB / 0.847 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.6131, allocations: 6.75 kB / 0.847 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6131, allocations: 2.75 kB / 0.847 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.6132, allocations: 66.22 kB / 0.847 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.6141, allocations: 1.152 MB / 0.8482 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.946e-05/0.6141, allocations: 166.5 kB / 0.8483 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.6142, allocations: 84.14 kB / 0.8484 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.6142, allocations: 84.53 kB / 0.8485 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.6143, allocations: 115.2 kB / 0.8486 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 3.717e-06/0.6143, allocations: 3.984 kB / 0.8486 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.731e-05/0.6144, allocations: 45.7 kB / 0.8486 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.6145, allocations: 179.5 kB / 0.8488 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.6147, allocations: 254.1 kB / 0.8491 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.6147, allocations: 25.7 kB / 0.8491 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.6148, allocations: 133.4 kB / 0.8492 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.6148, allocations: 1.375 kB / 0.8492 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.6149, allocations: 19.22 kB / 0.8492 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.615, allocations: 330.9 kB / 0.8495 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.615, allocations: 9.5 kB / 0.8495 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.283e-05/0.6151, allocations: 70.72 kB / 0.8496 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.6152, allocations: 50.91 kB / 0.8497 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6152, allocations: 1.188 kB / 0.8497 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001438/0.6153, allocations: 91.94 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6153, allocations: 4.938 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6153, allocations: 1.094 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6154, allocations: 2.031 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.6154, allocations: 11.61 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6154, allocations: 1.406 kB / 0.8498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.6155, allocations: 21.41 kB / 0.8498 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.6155, allocations: 2.656 kB / 0.8498 GB, free: 10.92 MB / 0.5762 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.0001196/0.6156, allocations: 204 kB / 0.85 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.6157, allocations: 124.9 kB / 0.8501 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.6158, allocations: 124.5 kB / 0.8502 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.6159, allocations: 181.4 kB / 0.8504 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.093e-05/0.6159, allocations: 181.7 kB / 0.8506 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-05/0.616, allocations: 181.6 kB / 0.8507 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.6163, allocations: 452.2 kB / 0.8512 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.6163, allocations: 106.3 kB / 0.8513 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.6163, allocations: 105 kB / 0.8514 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.415e-05/0.6164, allocations: 189.5 kB / 0.8516 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.6165, allocations: 181.7 kB / 0.8517 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.686e-05/0.6165, allocations: 181.3 kB / 0.8519 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.035e-05/0.6166, allocations: 182.2 kB / 0.8521 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.6167, allocations: 318.4 kB / 0.8524 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6168, allocations: 202 kB / 0.8526 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.6169, allocations: 181.6 kB / 0.8528 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.617, allocations: 106.5 kB / 0.8529 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.6171, allocations: 185.6 kB / 0.853 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.6171, allocations: 106.2 kB / 0.8531 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001622/0.6173, allocations: 182.7 kB / 0.8533 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6173, allocations: 0 / 0.8533 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002389/0.6175, allocations: 19.12 kB / 0.8533 GB, free: 7.227 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.0003594/0.6179, allocations: 0.8242 MB / 0.8541 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.618, allocations: 27.39 kB / 0.8542 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.618, allocations: 1.25 kB / 0.8542 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.618, allocations: 0 / 0.8542 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.6186, allocations: 0.5715 MB / 0.8547 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.6204, allocations: 2.064 MB / 0.8567 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6207, allocations: 0.715 MB / 0.8574 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.432e-05/0.6208, allocations: 24.2 kB / 0.8575 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.6209, allocations: 43.7 kB / 0.8575 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6209, allocations: 3.938 kB / 0.8575 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.6373, allocations: 3.647 MB / 0.8611 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.6375, allocations: 207.3 kB / 0.8613 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.36, allocations: 3.938 kB / 0.8613 GB, free: 1.297 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Validation_FlowSplitter_u.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)