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.001214/0.001215, allocations: 105.4 kB / 15.7 MB, free: 28 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.001301/0.001301, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.849/1.849, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.85/1.85, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001454/0.001454, allocations: 75.42 kB / 0.6723 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.366, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.8706/1.237, allocations: 166.1 MB / 0.9463 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006328/1.243, allocations: 5.695 MB / 0.9519 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/1.244, allocations: 9.031 kB / 0.9519 GB, free: 1.641 MB / 0.7169 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.0005292/1.244, allocations: 101.6 kB / 0.952 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/1.244, allocations: 58.12 kB / 0.952 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/1.245, allocations: 31.55 kB / 0.9521 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004616/1.245, allocations: 219.5 kB / 0.9523 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/1.245, allocations: 89.12 kB / 0.9524 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/1.246, allocations: 101 kB / 0.9525 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/1.246, allocations: 74.38 kB / 0.9525 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/1.246, allocations: 10.28 kB / 0.9525 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.122e-05/1.246, allocations: 9.844 kB / 0.9526 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/1.246, allocations: 30.84 kB / 0.9526 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/1.246, allocations: 68.89 kB / 0.9527 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/1.247, allocations: 164.2 kB / 0.9528 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/1.247, allocations: 0.6875 kB / 0.9528 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/1.247, allocations: 1.094 kB / 0.9528 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.725e-05/1.247, allocations: 0.5938 kB / 0.9528 GB, free: 1.488 MB / 0.7169 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.000935/1.248, allocations: 445.5 kB / 0.9532 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.248, allocations: 9.406 kB / 0.9532 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/1.248, allocations: 17.16 kB / 0.9533 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/1.248, allocations: 255.6 kB / 0.9535 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/1.248, allocations: 13.72 kB / 0.9535 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/1.248, allocations: 15.09 kB / 0.9535 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/1.248, allocations: 166.8 kB / 0.9537 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.248, allocations: 2.328 kB / 0.9537 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/1.249, allocations: 5.906 kB / 0.9537 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/1.249, allocations: 11.33 kB / 0.9537 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/1.249, allocations: 70.22 kB / 0.9538 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.25, allocations: 1.153 MB / 0.9549 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.659e-05/1.25, allocations: 166.3 kB / 0.9551 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/1.25, allocations: 82.67 kB / 0.9551 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/1.25, allocations: 75.28 kB / 0.9552 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/1.25, allocations: 120 kB / 0.9553 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.25, allocations: 1.438 kB / 0.9553 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.999e-05/1.25, allocations: 41.17 kB / 0.9554 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/1.25, allocations: 182.6 kB / 0.9555 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/1.251, allocations: 246.7 kB / 0.9558 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/1.251, allocations: 27.02 kB / 0.9558 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.251, allocations: 138.2 kB / 0.9559 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/1.251, allocations: 5.094 kB / 0.9559 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/1.251, allocations: 19.62 kB / 0.956 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.251, allocations: 327.8 kB / 0.9563 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/1.251, allocations: 11.12 kB / 0.9563 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/1.251, allocations: 69.44 kB / 0.9563 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/1.251, allocations: 49.05 kB / 0.9564 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.251, allocations: 0 / 0.9564 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002747/1.251, allocations: 97.88 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.252, allocations: 5.688 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.252, allocations: 3.062 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.252, allocations: 1.281 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/1.252, allocations: 7.469 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.252, allocations: 3.703 kB / 0.9565 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/1.252, allocations: 13.94 kB / 0.9565 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/1.252, allocations: 2.625 kB / 0.9565 GB, free: 14.27 MB / 0.7325 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.000138/1.252, allocations: 205.5 kB / 0.9567 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.252, allocations: 130.6 kB / 0.9568 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/1.252, allocations: 117.8 kB / 0.957 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/1.252, allocations: 181.5 kB / 0.9571 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.921e-05/1.252, allocations: 179.7 kB / 0.9573 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/1.252, allocations: 181.8 kB / 0.9575 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/1.253, allocations: 457.8 kB / 0.9579 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/1.253, allocations: 105 kB / 0.958 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/1.253, allocations: 110.2 kB / 0.9581 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/1.253, allocations: 181.2 kB / 0.9583 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/1.253, allocations: 187 kB / 0.9585 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.5e-05/1.253, allocations: 185.2 kB / 0.9586 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.431e-05/1.253, allocations: 177.4 kB / 0.9588 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/1.253, allocations: 319.3 kB / 0.9591 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.254, allocations: 200.1 kB / 0.9593 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/1.254, allocations: 184.5 kB / 0.9595 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/1.254, allocations: 106.1 kB / 0.9596 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/1.254, allocations: 181.3 kB / 0.9598 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/1.254, allocations: 104.1 kB / 0.9599 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001885/1.254, allocations: 183.9 kB / 0.96 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.042e-06/1.254, allocations: 0 / 0.96 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002797/1.254, allocations: 24.39 kB / 0.9601 GB, free: 10.71 MB / 0.7325 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.0001579/1.254, allocations: 173.8 kB / 0.9602 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001013/1.255, allocations: 22.81 kB / 0.9602 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.255, allocations: 0 / 0.9602 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/1.255, allocations: 1.922 kB / 0.9602 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/1.255, allocations: 0.5067 MB / 0.9607 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/1.256, allocations: 339.3 kB / 0.9611 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/1.256, allocations: 0.7196 MB / 0.9618 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.909e-05/1.256, allocations: 21.25 kB / 0.9618 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/1.256, allocations: 14.5 kB / 0.9618 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.256, allocations: 4 kB / 0.9618 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.00492/1.261, allocations: 1.938 MB / 0.9637 GB, free: 9 MB / 0.7325 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)