Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_8_Buildings_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.001272/0.001272, 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.00131/0.00131, allocations: 199.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.3 MB / 0.5484 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 65.14 kB / 0.6709 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2143, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.5492/0.7636, allocations: 163.9 MB / 0.9429 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.7675, allocations: 5.69 MB / 0.9484 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.7677, allocations: 8.25 kB / 0.9484 GB, free: 5.676 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0003323/0.7681, allocations: 80.52 kB / 0.9485 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.7682, allocations: 53.28 kB / 0.9485 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.624e-05/0.7683, allocations: 25.47 kB / 0.9486 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.7686, allocations: 258.8 kB / 0.9488 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.7687, allocations: 89.97 kB / 0.9489 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.7689, allocations: 91.45 kB / 0.949 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.769, allocations: 72.55 kB / 0.9491 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.7691, allocations: 7.875 kB / 0.9491 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.384e-05/0.7691, allocations: 8.188 kB / 0.9491 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.7691, allocations: 27.62 kB / 0.9491 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.595e-05/0.7692, allocations: 67.55 kB / 0.9492 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.7694, allocations: 152 kB / 0.9493 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7694, allocations: 4 kB / 0.9493 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7694, allocations: 1.094 kB / 0.9493 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.7694, allocations: 0 / 0.9493 GB, free: 5.637 MB / 0.7325 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.0006697/0.7701, allocations: 443.8 kB / 0.9497 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.7701, allocations: 10.16 kB / 0.9497 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.7702, allocations: 45.7 kB / 0.9498 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.7702, allocations: 21.08 kB / 0.9498 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.7704, allocations: 239.6 kB / 0.95 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7704, allocations: 11.75 kB / 0.9501 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.7705, allocations: 12.09 kB / 0.9501 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.7707, allocations: 168.2 kB / 0.9502 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.7707, allocations: 5.5 kB / 0.9502 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.7707, allocations: 5.375 kB / 0.9502 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7707, allocations: 7.812 kB / 0.9502 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.7708, allocations: 66.98 kB / 0.9503 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.7715, allocations: 1.153 MB / 0.9514 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.7716, allocations: 174.6 kB / 0.9516 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.7717, allocations: 80.14 kB / 0.9517 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.7717, allocations: 85.23 kB / 0.9518 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.7717, allocations: 109.2 kB / 0.9519 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7717, allocations: 0 / 0.9519 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.185e-05/0.7718, allocations: 45.72 kB / 0.9519 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.7719, allocations: 182.8 kB / 0.9521 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.7721, allocations: 245.3 kB / 0.9523 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7721, allocations: 27.34 kB / 0.9523 GB, free: 19.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.7722, allocations: 139.2 kB / 0.9525 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.7722, allocations: 0.6562 kB / 0.9525 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.7722, allocations: 21.22 kB / 0.9525 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.679e-05/0.7723, allocations: 327.9 kB / 0.9528 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.7724, allocations: 9.766 kB / 0.9528 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.7724, allocations: 72.62 kB / 0.9529 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.7725, allocations: 45.81 kB / 0.9529 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7725, allocations: 0 / 0.9529 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000137/0.7726, allocations: 96.38 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7726, allocations: 2.531 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7726, allocations: 1.531 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.7726, allocations: 1.625 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.224e-05/0.7727, allocations: 12.73 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7727, allocations: 0.9688 kB / 0.953 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.7728, allocations: 14.16 kB / 0.9531 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.7728, allocations: 4.531 kB / 0.9531 GB, free: 18.43 MB / 0.7481 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 9.965e-05/0.7729, allocations: 208.8 kB / 0.9533 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.773, allocations: 125.9 kB / 0.9534 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.773, allocations: 120 kB / 0.9535 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/0.7731, allocations: 184.6 kB / 0.9537 GB, free: 17.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.7731, allocations: 183.8 kB / 0.9538 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/0.7732, allocations: 188.8 kB / 0.954 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.7734, allocations: 447.4 kB / 0.9544 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/0.7734, allocations: 106.9 kB / 0.9545 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.7735, allocations: 108.3 kB / 0.9547 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.533e-05/0.7735, allocations: 179.6 kB / 0.9548 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.7736, allocations: 179.9 kB / 0.955 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.52e-05/0.7736, allocations: 188.5 kB / 0.9552 GB, free: 16.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.703e-05/0.7737, allocations: 179.9 kB / 0.9553 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.7738, allocations: 320.6 kB / 0.9557 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.7739, allocations: 203 kB / 0.9558 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.7739, allocations: 183.3 kB / 0.956 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.774, allocations: 107.3 kB / 0.9561 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.7741, allocations: 177 kB / 0.9563 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.7741, allocations: 106.5 kB / 0.9564 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000144/0.7743, allocations: 182.3 kB / 0.9566 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7743, allocations: 1.203 kB / 0.9566 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002304/0.7745, allocations: 24.19 kB / 0.9566 GB, free: 14.9 MB / 0.7481 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.0002986/0.7748, allocations: 0.826 MB / 0.9574 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.7749, allocations: 20.44 kB / 0.9574 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7749, allocations: 0 / 0.9574 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7749, allocations: 1.406 kB / 0.9574 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.7755, allocations: 0.5772 MB / 0.958 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.7772, allocations: 2.079 MB / 0.96 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.7775, allocations: 0.7165 MB / 0.9607 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.03e-05/0.7776, allocations: 23.58 kB / 0.9607 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.7776, allocations: 43.67 kB / 0.9608 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.7776, allocations: 0.9062 kB / 0.9608 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/1.803, allocations: 3.628 MB / 0.9643 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/1.803, allocations: 198.1 kB / 0.9645 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/4.615, allocations: 0 / 0.9645 GB, free: 10.69 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)