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.001273/0.001273, 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.001824/0.001823, allocations: 186.6 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.726/1.726, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.598/1.598, allocations: 251.6 MB / 0.5089 GB, free: 3.281 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.001698/0.001698, allocations: 63.91 kB / 0.6217 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.61, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2067/0.8167, allocations: 163.9 MB / 0.884 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006042/0.8228, allocations: 5.666 MB / 0.8896 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.8232, allocations: 7.938 kB / 0.8896 GB, free: 2.863 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.0005227/0.8239, allocations: 75.52 kB / 0.8897 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.8242, allocations: 63.66 kB / 0.8897 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.8243, allocations: 27.98 kB / 0.8897 GB, free: 2.699 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.8247, allocations: 215.1 kB / 0.89 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.825, allocations: 86.62 kB / 0.89 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.8252, allocations: 103.6 kB / 0.8901 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.8254, allocations: 71.62 kB / 0.8902 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.8254, allocations: 16 kB / 0.8902 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.8255, allocations: 11.94 kB / 0.8902 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.8255, allocations: 27.92 kB / 0.8903 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.694e-05/0.8256, allocations: 71.61 kB / 0.8903 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.8259, allocations: 153.5 kB / 0.8905 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.8259, allocations: 0 / 0.8905 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8259, allocations: 0 / 0.8905 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.8259, allocations: 0 / 0.8905 GB, free: 1.961 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.0006884/0.8266, allocations: 446.7 kB / 0.8909 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8267, allocations: 8.031 kB / 0.8909 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.8267, allocations: 19.81 kB / 0.8909 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.827, allocations: 246.6 kB / 0.8912 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.8271, allocations: 4 kB / 0.8912 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.8271, allocations: 15.98 kB / 0.8912 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.8274, allocations: 169.9 kB / 0.8913 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8274, allocations: 0 / 0.8913 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.8274, allocations: 4 kB / 0.8913 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8274, allocations: 4 kB / 0.8913 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.8276, allocations: 75.83 kB / 0.8914 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009962/0.8286, allocations: 1.144 MB / 0.8925 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.8287, allocations: 177.1 kB / 0.8927 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.8287, allocations: 84.14 kB / 0.8928 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.8288, allocations: 79.22 kB / 0.8929 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.8288, allocations: 105.8 kB / 0.893 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.8288, allocations: 3.938 kB / 0.893 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001011/0.829, allocations: 45.5 kB / 0.893 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.8291, allocations: 182.1 kB / 0.8932 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.8293, allocations: 249 kB / 0.8934 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.8294, allocations: 25.7 kB / 0.8934 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.8295, allocations: 135.8 kB / 0.8936 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.8295, allocations: 8 kB / 0.8936 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.8295, allocations: 21.66 kB / 0.8936 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8296, allocations: 322.8 kB / 0.8939 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.8297, allocations: 11.98 kB / 0.8939 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.8297, allocations: 75.66 kB / 0.894 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.422e-05/0.8298, allocations: 52.23 kB / 0.894 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8298, allocations: 0 / 0.894 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.83, allocations: 89.36 kB / 0.8941 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.83, allocations: 4 kB / 0.8941 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.83, allocations: 4 kB / 0.8941 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.83, allocations: 0 / 0.8941 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.8301, allocations: 11.94 kB / 0.8941 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8301, allocations: 0 / 0.8941 GB, free: 13.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.8302, allocations: 23.98 kB / 0.8942 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.8302, allocations: 0 / 0.8942 GB, free: 13.83 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.0001412/0.8304, allocations: 201.1 kB / 0.8944 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.8305, allocations: 132.7 kB / 0.8945 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.951e-05/0.8306, allocations: 121.6 kB / 0.8946 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/0.8307, allocations: 180.2 kB / 0.8948 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.158e-05/0.8307, allocations: 184.2 kB / 0.895 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-05/0.8308, allocations: 176.3 kB / 0.8951 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.8311, allocations: 457.1 kB / 0.8956 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-05/0.8311, allocations: 108.9 kB / 0.8957 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.8312, allocations: 101 kB / 0.8958 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.822e-05/0.8313, allocations: 180.2 kB / 0.8959 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.8313, allocations: 184.3 kB / 0.8961 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.75e-05/0.8314, allocations: 188.1 kB / 0.8963 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-05/0.8315, allocations: 180.2 kB / 0.8965 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.8316, allocations: 315.6 kB / 0.8968 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.8317, allocations: 205.8 kB / 0.897 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.8318, allocations: 180.5 kB / 0.8971 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.8319, allocations: 105 kB / 0.8972 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.832, allocations: 184.2 kB / 0.8974 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.8321, allocations: 109 kB / 0.8975 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001756/0.8323, allocations: 180.5 kB / 0.8977 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8323, allocations: 4 kB / 0.8977 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002429/0.8325, allocations: 20 kB / 0.8977 GB, free: 9.996 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.0001432/0.8327, allocations: 170.5 kB / 0.8979 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.8328, allocations: 23.92 kB / 0.8979 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8328, allocations: 0 / 0.8979 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.8328, allocations: 4 kB / 0.8979 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.8335, allocations: 0.5107 MB / 0.8984 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.8341, allocations: 359.5 kB / 0.8987 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.8344, allocations: 0.7202 MB / 0.8994 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.966e-05/0.8345, allocations: 21.53 kB / 0.8995 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.8345, allocations: 19.44 kB / 0.8995 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8345, allocations: 0 / 0.8995 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.004672/0.8392, allocations: 1.93 MB / 0.9014 GB, free: 6.211 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)