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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001727/0.001727, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.79/1.79, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.802/1.802, allocations: 292.3 MB / 0.5485 GB, free: 13.58 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.001531/0.001531, allocations: 62.5 kB / 0.671 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3364, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.9883/1.325, allocations: 163.9 MB / 0.9429 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006093/1.331, allocations: 5.649 MB / 0.9484 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004299/1.331, allocations: 5.844 kB / 0.9484 GB, free: 5.906 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.0005418/1.332, allocations: 77.59 kB / 0.9485 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/1.332, allocations: 60.7 kB / 0.9485 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/1.332, allocations: 27.86 kB / 0.9485 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000324/1.333, allocations: 215.2 kB / 0.9487 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/1.333, allocations: 91.22 kB / 0.9488 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/1.333, allocations: 102.6 kB / 0.9489 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/1.333, allocations: 75.3 kB / 0.949 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/1.333, allocations: 17.41 kB / 0.949 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/1.334, allocations: 8.719 kB / 0.949 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/1.334, allocations: 27.98 kB / 0.9491 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.717e-05/1.334, allocations: 71.53 kB / 0.9491 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/1.334, allocations: 155.6 kB / 0.9493 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.334, allocations: 1.094 kB / 0.9493 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.937e-06/1.334, allocations: 2.625 kB / 0.9493 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.334, allocations: 0 / 0.9493 GB, free: 5.863 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.001171/1.335, allocations: 437.4 kB / 0.9497 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.335, allocations: 11.88 kB / 0.9497 GB, free: 21.47 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/1.335, allocations: 18.69 kB / 0.9497 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/1.336, allocations: 244 kB / 0.95 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.336, allocations: 13.67 kB / 0.95 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/1.336, allocations: 11.75 kB / 0.95 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.336, allocations: 168.7 kB / 0.9501 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.336, allocations: 3.875 kB / 0.9501 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/1.336, allocations: 5.969 kB / 0.9501 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.336, allocations: 4.531 kB / 0.9502 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/1.336, allocations: 71.2 kB / 0.9502 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/1.337, allocations: 1.154 MB / 0.9513 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/1.337, allocations: 171 kB / 0.9515 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/1.337, allocations: 84.27 kB / 0.9516 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/1.337, allocations: 78.19 kB / 0.9517 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.337, allocations: 112.3 kB / 0.9518 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/1.337, allocations: 3.938 kB / 0.9518 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.992e-05/1.337, allocations: 46.41 kB / 0.9518 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/1.338, allocations: 182.7 kB / 0.952 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/1.338, allocations: 248.4 kB / 0.9522 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.338, allocations: 28.61 kB / 0.9523 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.338, allocations: 139.3 kB / 0.9524 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/1.338, allocations: 0 / 0.9524 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/1.338, allocations: 20.73 kB / 0.9524 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.338, allocations: 328.5 kB / 0.9527 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/1.338, allocations: 8.328 kB / 0.9527 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/1.338, allocations: 74.31 kB / 0.9528 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/1.338, allocations: 52.8 kB / 0.9529 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.338, allocations: 0.5625 kB / 0.9529 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001738/1.339, allocations: 86.72 kB / 0.9529 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.339, allocations: 5.625 kB / 0.9529 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.339, allocations: 3.281 kB / 0.9529 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.339, allocations: 0.8438 kB / 0.9529 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/1.339, allocations: 10.8 kB / 0.953 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/1.339, allocations: 7.719 kB / 0.953 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/1.339, allocations: 19.62 kB / 0.953 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.339, allocations: 1.844 kB / 0.953 GB, free: 18.69 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.000149/1.339, allocations: 201.4 kB / 0.9532 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/1.339, allocations: 125.2 kB / 0.9533 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/1.339, allocations: 118.6 kB / 0.9534 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.12e-05/1.339, allocations: 191.4 kB / 0.9536 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.335e-05/1.339, allocations: 176.9 kB / 0.9538 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.167e-05/1.339, allocations: 182.1 kB / 0.9539 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/1.34, allocations: 452.8 kB / 0.9544 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/1.34, allocations: 104.6 kB / 0.9545 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/1.34, allocations: 106.7 kB / 0.9546 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-05/1.34, allocations: 187.1 kB / 0.9547 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/1.34, allocations: 176.8 kB / 0.9549 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.056e-05/1.34, allocations: 180.5 kB / 0.9551 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.801e-05/1.34, allocations: 186.9 kB / 0.9553 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/1.34, allocations: 318.5 kB / 0.9556 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.34, allocations: 201 kB / 0.9558 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.341, allocations: 183.9 kB / 0.9559 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.341, allocations: 101.6 kB / 0.956 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/1.341, allocations: 183.4 kB / 0.9562 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/1.341, allocations: 104.1 kB / 0.9563 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001907/1.341, allocations: 188.8 kB / 0.9565 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.341, allocations: 6.844 kB / 0.9565 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002726/1.341, allocations: 19.62 kB / 0.9565 GB, free: 15.17 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.0001458/1.342, allocations: 171.3 kB / 0.9567 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.342, allocations: 23.3 kB / 0.9567 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.342, allocations: 0 / 0.9567 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/1.342, allocations: 320 / 0.9567 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/1.342, allocations: 0.4955 MB / 0.9572 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/1.343, allocations: 373.5 kB / 0.9575 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/1.344, allocations: 0.7165 MB / 0.9582 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000129/1.344, allocations: 35.03 kB / 0.9583 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/1.344, allocations: 13.31 kB / 0.9583 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/1.344, allocations: 0.5938 kB / 0.9583 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.008076/1.352, allocations: 1.936 MB / 0.9602 GB, free: 13.43 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)