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.001435/0.001435, allocations: 105.8 kB / 16.35 MB, free: 5.879 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.001614/0.001614, allocations: 195.6 kB / 17.29 MB, free: 5.516 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 4.5 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.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 12.75 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.001411/0.001411, allocations: 75.84 kB / 0.6729 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.222, allocations: 114.5 MB / 0.7848 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6926/0.9147, allocations: 166.1 MB / 0.947 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006391/0.9211, allocations: 5.697 MB / 0.9525 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.9215, allocations: 9.094 kB / 0.9525 GB, free: 1.57 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.0005919/0.9222, allocations: 101.6 kB / 0.9526 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.9225, allocations: 50.61 kB / 0.9527 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.9226, allocations: 34.36 kB / 0.9527 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.9232, allocations: 219.2 kB / 0.9529 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.9236, allocations: 87.27 kB / 0.953 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.9239, allocations: 103.7 kB / 0.9531 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.9241, allocations: 73.34 kB / 0.9532 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.9242, allocations: 10.22 kB / 0.9532 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.486e-05/0.9242, allocations: 9.844 kB / 0.9532 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.9243, allocations: 31.03 kB / 0.9532 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.9244, allocations: 68.22 kB / 0.9533 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.9248, allocations: 164.4 kB / 0.9534 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9248, allocations: 4.594 kB / 0.9535 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9248, allocations: 0 / 0.9535 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.9248, allocations: 0.5312 kB / 0.9535 GB, free: 1.418 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.0009801/0.9258, allocations: 445.5 kB / 0.9539 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.9258, allocations: 9.594 kB / 0.9539 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.9259, allocations: 16.62 kB / 0.9539 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.9263, allocations: 249.4 kB / 0.9541 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.9263, allocations: 12.52 kB / 0.9542 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.9263, allocations: 14.91 kB / 0.9542 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.9266, allocations: 164 kB / 0.9543 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9267, allocations: 4.531 kB / 0.9543 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.9267, allocations: 6.672 kB / 0.9543 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.9267, allocations: 7.688 kB / 0.9543 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.9269, allocations: 64.69 kB / 0.9544 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.9279, allocations: 1.156 MB / 0.9555 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.9281, allocations: 170.3 kB / 0.9557 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.9281, allocations: 80.64 kB / 0.9558 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.9281, allocations: 79.28 kB / 0.9558 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.9282, allocations: 111.1 kB / 0.956 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.9282, allocations: 0 / 0.956 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.951e-05/0.9283, allocations: 42.08 kB / 0.956 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.9284, allocations: 188.9 kB / 0.9562 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.9287, allocations: 246.1 kB / 0.9564 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.9287, allocations: 26.86 kB / 0.9564 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.9289, allocations: 142.1 kB / 0.9566 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-06/0.9289, allocations: 1 kB / 0.9566 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.9289, allocations: 22.19 kB / 0.9566 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9291, allocations: 326.3 kB / 0.9569 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.9291, allocations: 10.81 kB / 0.9569 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.9291, allocations: 66.44 kB / 0.957 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.834e-05/0.9292, allocations: 48.31 kB / 0.957 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9292, allocations: 0 / 0.957 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001697/0.9294, allocations: 96.94 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9294, allocations: 7.703 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9294, allocations: 1.625 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9294, allocations: 1.438 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.368e-05/0.9295, allocations: 8.969 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9295, allocations: 1.5 kB / 0.9571 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.9296, allocations: 17.56 kB / 0.9572 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.9296, allocations: 2.344 kB / 0.9572 GB, free: 14.21 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.0001445/0.9298, allocations: 212.2 kB / 0.9574 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.9299, allocations: 125.2 kB / 0.9575 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.93, allocations: 121.3 kB / 0.9576 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.93, allocations: 179.2 kB / 0.9578 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.107e-05/0.9301, allocations: 178.4 kB / 0.9579 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.9302, allocations: 181.9 kB / 0.9581 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.9305, allocations: 458.8 kB / 0.9585 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.9305, allocations: 110.2 kB / 0.9586 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.9306, allocations: 106.3 kB / 0.9588 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/0.9307, allocations: 182.8 kB / 0.9589 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.9307, allocations: 180.2 kB / 0.9591 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.9308, allocations: 181.8 kB / 0.9593 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.445e-05/0.9309, allocations: 184 kB / 0.9594 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.931, allocations: 313 kB / 0.9597 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.9311, allocations: 207.6 kB / 0.9599 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.9312, allocations: 182.6 kB / 0.9601 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.9314, allocations: 106.3 kB / 0.9602 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.9315, allocations: 181.5 kB / 0.9604 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.9315, allocations: 101 kB / 0.9605 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001825/0.9317, allocations: 187.9 kB / 0.9607 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9317, allocations: 0 / 0.9607 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002817/0.932, allocations: 23.28 kB / 0.9607 GB, free: 10.65 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.0001838/0.9322, allocations: 176.4 kB / 0.9609 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.9323, allocations: 21.75 kB / 0.9609 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9323, allocations: 0 / 0.9609 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.9323, allocations: 2.625 kB / 0.9609 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.933, allocations: 0.5055 MB / 0.9614 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.9335, allocations: 329.5 kB / 0.9617 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.9339, allocations: 0.72 MB / 0.9624 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.934, allocations: 20.52 kB / 0.9624 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.9341, allocations: 14.97 kB / 0.9624 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.9341, allocations: 4 kB / 0.9624 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of Templates: time 0.004963/0.939, allocations: 1.946 MB / 0.9643 GB, free: 8.938 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)