Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001367/0.001367, allocations: 108 kB / 15.61 MB, free: 152 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.001485/0.001485, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.706/1.706, allocations: 251.7 MB / 0.5092 GB, free: 3.215 MB / 414.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.001481/0.001482, allocations: 67.91 kB / 0.6223 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6418, allocations: 104.7 MB / 0.7245 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2146/0.8565, allocations: 166.2 MB / 0.8868 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.8624, allocations: 5.715 MB / 0.8923 GB, free: 468 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.8628, allocations: 11.94 kB / 0.8924 GB, free: 456 kB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0005334/0.8634, allocations: 95.31 kB / 0.8925 GB, free: 360 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.8636, allocations: 55.61 kB / 0.8925 GB, free: 304 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.8638, allocations: 35.95 kB / 0.8925 GB, free: 268 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.8641, allocations: 211.1 kB / 0.8927 GB, free: 56 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.8643, allocations: 98.94 kB / 0.8928 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.8646, allocations: 99.58 kB / 0.8929 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.8647, allocations: 71.64 kB / 0.893 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.8648, allocations: 11.94 kB / 0.893 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.8648, allocations: 8 kB / 0.893 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.8649, allocations: 27.92 kB / 0.893 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.8649, allocations: 71.61 kB / 0.8931 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.8651, allocations: 157.4 kB / 0.8933 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8652, allocations: 0 / 0.8933 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8652, allocations: 0 / 0.8933 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8652, allocations: 4 kB / 0.8933 GB, free: 15.52 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.0006733/0.8659, allocations: 442.7 kB / 0.8937 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8659, allocations: 12.02 kB / 0.8937 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.866, allocations: 15.81 kB / 0.8937 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.8662, allocations: 238.6 kB / 0.8939 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.8663, allocations: 8 kB / 0.8939 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.8663, allocations: 12 kB / 0.894 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.8666, allocations: 173.4 kB / 0.8941 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8666, allocations: 3.938 kB / 0.8941 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.8666, allocations: 8 kB / 0.8941 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.8666, allocations: 0 / 0.8941 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.8668, allocations: 67.84 kB / 0.8942 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.8678, allocations: 1.164 MB / 0.8953 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.539e-05/0.8679, allocations: 165.1 kB / 0.8955 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.868, allocations: 88.06 kB / 0.8956 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.868, allocations: 87.2 kB / 0.8957 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.8681, allocations: 105.8 kB / 0.8958 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.8681, allocations: 4 kB / 0.8958 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001194/0.8682, allocations: 45.52 kB / 0.8958 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.8683, allocations: 178.1 kB / 0.896 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.8686, allocations: 249 kB / 0.8962 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.8686, allocations: 25.7 kB / 0.8962 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8688, allocations: 135.8 kB / 0.8964 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-06/0.8688, allocations: 0 / 0.8964 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.8688, allocations: 17.72 kB / 0.8964 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.869, allocations: 334.8 kB / 0.8967 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.869, allocations: 15.94 kB / 0.8967 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.8691, allocations: 59.72 kB / 0.8968 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.89e-05/0.8691, allocations: 56.22 kB / 0.8968 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8691, allocations: 0 / 0.8968 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.8693, allocations: 89.31 kB / 0.8969 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8693, allocations: 4 kB / 0.8969 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8694, allocations: 8.281 kB / 0.8969 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8694, allocations: 0 / 0.8969 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.8694, allocations: 15.98 kB / 0.8969 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8695, allocations: 0 / 0.8969 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.8695, allocations: 15.84 kB / 0.897 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.8696, allocations: 0 / 0.897 GB, free: 11.39 MB / 0.7169 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.0001249/0.8697, allocations: 209 kB / 0.8972 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.8698, allocations: 120.7 kB / 0.8973 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.8698, allocations: 129.6 kB / 0.8974 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.585e-05/0.8699, allocations: 180.2 kB / 0.8976 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-05/0.87, allocations: 180.3 kB / 0.8977 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.452e-05/0.8701, allocations: 176.3 kB / 0.8979 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.8704, allocations: 457.1 kB / 0.8983 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/0.8704, allocations: 112.9 kB / 0.8985 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.8705, allocations: 104.9 kB / 0.8986 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.408e-05/0.8705, allocations: 176.3 kB / 0.8987 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.8706, allocations: 188.1 kB / 0.8989 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.536e-05/0.8707, allocations: 188.2 kB / 0.8991 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-05/0.8708, allocations: 176.3 kB / 0.8992 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.871, allocations: 323.8 kB / 0.8996 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.8711, allocations: 205.8 kB / 0.8998 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.8712, allocations: 176.3 kB / 0.8999 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8713, allocations: 109 kB / 0.9 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.8714, allocations: 188.2 kB / 0.9002 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.8714, allocations: 101 kB / 0.9003 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001638/0.8716, allocations: 184.5 kB / 0.9005 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8716, allocations: 0 / 0.9005 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000278/0.8719, allocations: 24 kB / 0.9005 GB, free: 7.547 MB / 0.7169 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.0002555/0.8721, allocations: 170.5 kB / 0.9007 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.8723, allocations: 24.12 kB / 0.9007 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8723, allocations: 0 / 0.9007 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.8723, allocations: 0 / 0.9007 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.873, allocations: 0.5175 MB / 0.9012 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.8736, allocations: 322.4 kB / 0.9015 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.8739, allocations: 0.7124 MB / 0.9022 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.874, allocations: 29.56 kB / 0.9022 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.8741, allocations: 15.44 kB / 0.9022 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8741, allocations: 0 / 0.9022 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of Templates: time 0.005506/0.8796, allocations: 1.941 MB / 0.9041 GB, free: 3.785 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)