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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 110.5 kB / 16.37 MB, free: 5.539 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.00159/0.00159, allocations: 190.8 kB / 17.31 MB, free: 5.184 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.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.877/1.877, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001428/0.001428, allocations: 63.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.5898/0.844, allocations: 166.1 MB / 0.947 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005712/0.8498, allocations: 5.689 MB / 0.9526 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.8501, allocations: 7.938 kB / 0.9526 GB, free: 14.29 MB / 0.7481 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.0004424/0.8506, allocations: 99.31 kB / 0.9527 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.8508, allocations: 55.62 kB / 0.9527 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.851, allocations: 35.94 kB / 0.9527 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.8513, allocations: 219.1 kB / 0.953 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.8515, allocations: 91.39 kB / 0.953 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.8517, allocations: 99.58 kB / 0.9531 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.8519, allocations: 79.62 kB / 0.9532 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.8519, allocations: 8 kB / 0.9532 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.852, allocations: 12 kB / 0.9532 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.852, allocations: 24.77 kB / 0.9533 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.8521, allocations: 75.59 kB / 0.9533 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.8523, allocations: 163.2 kB / 0.9535 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8523, allocations: 0 / 0.9535 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8524, allocations: 0 / 0.9535 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.8524, allocations: 0 / 0.9535 GB, free: 13.36 MB / 0.7481 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.0006408/0.853, allocations: 445.6 kB / 0.9539 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8531, allocations: 12.03 kB / 0.9539 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.8531, allocations: 15.81 kB / 0.9539 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.8535, allocations: 262 kB / 0.9542 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.8535, allocations: 7.984 kB / 0.9542 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.8535, allocations: 12 kB / 0.9542 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.8538, allocations: 169.6 kB / 0.9544 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8538, allocations: 0 / 0.9544 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.8538, allocations: 4 kB / 0.9544 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8538, allocations: 4 kB / 0.9544 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.8539, allocations: 79.83 kB / 0.9544 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.8548, allocations: 1.144 MB / 0.9556 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.8549, allocations: 173.1 kB / 0.9557 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.8549, allocations: 84.08 kB / 0.9558 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.855, allocations: 79.22 kB / 0.9559 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.855, allocations: 113.9 kB / 0.956 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.855, allocations: 0 / 0.956 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.767e-05/0.8551, allocations: 49.44 kB / 0.956 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.8552, allocations: 182.1 kB / 0.9562 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.8555, allocations: 246.4 kB / 0.9564 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.8555, allocations: 25.7 kB / 0.9565 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.8556, allocations: 135.9 kB / 0.9566 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.8556, allocations: 4 kB / 0.9566 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.8557, allocations: 21.72 kB / 0.9566 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8558, allocations: 326.8 kB / 0.9569 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.8558, allocations: 12 kB / 0.957 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/0.8559, allocations: 63.66 kB / 0.957 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.856, allocations: 52.23 kB / 0.9571 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.856, allocations: 0 / 0.9571 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001557/0.8561, allocations: 93.45 kB / 0.9572 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8562, allocations: 4 kB / 0.9572 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8562, allocations: 4 kB / 0.9572 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8562, allocations: 0 / 0.9572 GB, free: 9.266 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.8563, allocations: 14 kB / 0.9572 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8563, allocations: 0 / 0.9572 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.8564, allocations: 23.73 kB / 0.9572 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.8564, allocations: 1 kB / 0.9572 GB, free: 9.23 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 0.0001254/0.8565, allocations: 201.1 kB / 0.9574 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.8566, allocations: 136.7 kB / 0.9575 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.8567, allocations: 121.9 kB / 0.9576 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-05/0.8567, allocations: 180.2 kB / 0.9578 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-05/0.8568, allocations: 180.2 kB / 0.958 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/0.8569, allocations: 176.3 kB / 0.9581 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.8572, allocations: 457.1 kB / 0.9586 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/0.8572, allocations: 108.9 kB / 0.9587 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.8573, allocations: 102.5 kB / 0.9588 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-05/0.8573, allocations: 184.2 kB / 0.959 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.8574, allocations: 180.3 kB / 0.9591 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.8575, allocations: 184.2 kB / 0.9593 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-05/0.8575, allocations: 188.2 kB / 0.9595 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.8577, allocations: 323.6 kB / 0.9598 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.8578, allocations: 197.8 kB / 0.96 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.8578, allocations: 180.2 kB / 0.9602 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.8579, allocations: 109 kB / 0.9603 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.858, allocations: 180.3 kB / 0.9604 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.8581, allocations: 109.7 kB / 0.9605 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001622/0.8582, allocations: 180.5 kB / 0.9607 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8582, allocations: 4 kB / 0.9607 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002359/0.8585, allocations: 20 kB / 0.9607 GB, free: 5.387 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.000139/0.8586, allocations: 174.5 kB / 0.9609 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.106e-05/0.8587, allocations: 19.94 kB / 0.9609 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8587, allocations: 4 kB / 0.9609 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.8587, allocations: 0 / 0.9609 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.8593, allocations: 0.5047 MB / 0.9614 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.8598, allocations: 353.9 kB / 0.9618 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.8601, allocations: 0.7202 MB / 0.9625 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.8602, allocations: 15.44 kB / 0.9625 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.8602, allocations: 0 / 0.9625 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of Templates: time 0.003686/0.8639, allocations: 1.994 MB / 0.9644 GB, free: 1.605 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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 & ./Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)