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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001544/0.001544, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.784/1.784, allocations: 205.1 MB / 222 MB, free: 4.996 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.663/1.663, allocations: 251.6 MB / 0.5088 GB, free: 3.383 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.001832/0.001832, allocations: 67.91 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7196, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2165/0.9362, allocations: 164 MB / 0.8839 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006105/0.9423, allocations: 5.712 MB / 0.8895 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.9427, allocations: 4 kB / 0.8895 GB, free: 2.855 MB / 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.0005893/0.9434, allocations: 75.52 kB / 0.8896 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.9437, allocations: 55.66 kB / 0.8896 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.9439, allocations: 27.98 kB / 0.8896 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.9442, allocations: 267 kB / 0.8899 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.9445, allocations: 87.16 kB / 0.89 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.9447, allocations: 95.64 kB / 0.8901 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.9449, allocations: 71.64 kB / 0.8901 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.9449, allocations: 4 kB / 0.8901 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.945, allocations: 8 kB / 0.8901 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.945, allocations: 27.91 kB / 0.8902 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.9451, allocations: 79.48 kB / 0.8903 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.9453, allocations: 153.4 kB / 0.8904 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.9453, allocations: 0 / 0.8904 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9454, allocations: 0 / 0.8904 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.9454, allocations: 0 / 0.8904 GB, free: 1.922 MB / 0.7012 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.0008152/0.9462, allocations: 446.7 kB / 0.8908 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.9462, allocations: 12.03 kB / 0.8908 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.9463, allocations: 15.81 kB / 0.8908 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.9467, allocations: 244.5 kB / 0.8911 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.9467, allocations: 11.94 kB / 0.8911 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.9467, allocations: 12 kB / 0.8911 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.947, allocations: 161.9 kB / 0.8913 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.947, allocations: 3.938 kB / 0.8913 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.9471, allocations: 8 kB / 0.8913 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.9471, allocations: 4 kB / 0.8913 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.9472, allocations: 63.91 kB / 0.8913 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.9482, allocations: 1.164 MB / 0.8925 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.9484, allocations: 165.1 kB / 0.8926 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.9485, allocations: 80.14 kB / 0.8927 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.9485, allocations: 79.22 kB / 0.8928 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.694e-05/0.9486, allocations: 109.8 kB / 0.8929 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.9486, allocations: 0 / 0.8929 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.9487, allocations: 49.45 kB / 0.8929 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9489, allocations: 178.1 kB / 0.8931 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.9492, allocations: 249 kB / 0.8933 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.9492, allocations: 29.7 kB / 0.8934 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.9493, allocations: 135.8 kB / 0.8935 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.9493, allocations: 0 / 0.8935 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.9494, allocations: 25.7 kB / 0.8935 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9495, allocations: 326.8 kB / 0.8938 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.9495, allocations: 8 kB / 0.8938 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.9496, allocations: 63.72 kB / 0.8939 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.9497, allocations: 56.22 kB / 0.894 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.9497, allocations: 0 / 0.894 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.9499, allocations: 85.31 kB / 0.894 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9499, allocations: 8 kB / 0.894 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9499, allocations: 160 / 0.894 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.95, allocations: 7.984 kB / 0.8941 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.9501, allocations: 8 kB / 0.8941 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9501, allocations: 7.938 kB / 0.8941 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.9502, allocations: 11.84 kB / 0.8941 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.9502, allocations: 7.938 kB / 0.8941 GB, free: 13.8 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.0001552/0.9503, allocations: 205.1 kB / 0.8943 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.9504, allocations: 124.7 kB / 0.8944 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.9505, allocations: 133.8 kB / 0.8945 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/0.9507, allocations: 180.3 kB / 0.8947 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/0.9508, allocations: 184.2 kB / 0.8949 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.333e-05/0.9509, allocations: 176.3 kB / 0.895 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.9512, allocations: 449.2 kB / 0.8955 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.108e-05/0.9513, allocations: 113 kB / 0.8956 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.9513, allocations: 109 kB / 0.8957 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-05/0.9514, allocations: 188.2 kB / 0.8959 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.9515, allocations: 176.3 kB / 0.896 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.864e-05/0.9516, allocations: 176.3 kB / 0.8962 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-05/0.9517, allocations: 180.2 kB / 0.8964 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.9519, allocations: 327.6 kB / 0.8967 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.952, allocations: 193.8 kB / 0.8969 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.9521, allocations: 188.2 kB / 0.897 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.9523, allocations: 104.9 kB / 0.8971 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.9524, allocations: 176.3 kB / 0.8973 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.9524, allocations: 112.9 kB / 0.8974 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001921/0.9526, allocations: 188.5 kB / 0.8976 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9526, allocations: 0 / 0.8976 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002973/0.9529, allocations: 20 kB / 0.8976 GB, free: 9.965 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.0001518/0.9531, allocations: 170.5 kB / 0.8978 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.9532, allocations: 24.17 kB / 0.8978 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9532, allocations: 4.062 kB / 0.8978 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.9532, allocations: 0 / 0.8978 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.954, allocations: 0.5789 MB / 0.8984 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.9546, allocations: 345.3 kB / 0.8987 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.955, allocations: 0.7205 MB / 0.8994 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.884e-05/0.955, allocations: 21.55 kB / 0.8994 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.9551, allocations: 15.44 kB / 0.8994 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.324e-06/0.9551, allocations: 0 / 0.8994 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.004786/0.9599, allocations: 1.864 MB / 0.9013 GB, free: 6.184 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)