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.001102/0.001101, allocations: 96.14 kB / 16.26 MB, free: 6.418 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.001102/0.001102, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.735/1.735, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.00145/0.001451, allocations: 67.91 kB / 0.6721 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6473/0.885, allocations: 166.1 MB / 0.9462 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006663/0.8917, allocations: 5.694 MB / 0.9518 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.892, allocations: 4 kB / 0.9518 GB, free: 14.73 MB / 0.7481 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.000594/0.8926, allocations: 91.31 kB / 0.9519 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.893, allocations: 51.62 kB / 0.9519 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.8932, allocations: 53.88 kB / 0.952 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.8936, allocations: 215.2 kB / 0.9522 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.8939, allocations: 90.62 kB / 0.9523 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.8942, allocations: 99.62 kB / 0.9524 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.8944, allocations: 67.64 kB / 0.9524 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.8944, allocations: 12 kB / 0.9525 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.8945, allocations: 12 kB / 0.9525 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.8945, allocations: 31.91 kB / 0.9525 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.522e-05/0.8946, allocations: 71.61 kB / 0.9526 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.8949, allocations: 147.5 kB / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8949, allocations: 0 / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8949, allocations: 0 / 0.9527 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8949, allocations: 3.938 kB / 0.9527 GB, free: 13.81 MB / 0.7481 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.0007521/0.8957, allocations: 449.5 kB / 0.9531 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8957, allocations: 8.031 kB / 0.9531 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.8958, allocations: 19.81 kB / 0.9532 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.8961, allocations: 244.6 kB / 0.9534 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.8962, allocations: 11.98 kB / 0.9534 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.8962, allocations: 15.98 kB / 0.9534 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.8965, allocations: 169.6 kB / 0.9536 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.8965, allocations: 3.938 kB / 0.9536 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.8965, allocations: 4 kB / 0.9536 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8965, allocations: 5.406 kB / 0.9536 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.8967, allocations: 67.89 kB / 0.9537 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.8977, allocations: 1.148 MB / 0.9548 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.477e-05/0.8978, allocations: 173.1 kB / 0.9549 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.8978, allocations: 84.14 kB / 0.955 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.8978, allocations: 79.28 kB / 0.9551 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.8979, allocations: 109.8 kB / 0.9552 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.8979, allocations: 0 / 0.9552 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.898, allocations: 41.52 kB / 0.9553 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.8981, allocations: 190 kB / 0.9554 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.8984, allocations: 249 kB / 0.9557 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.8984, allocations: 25.7 kB / 0.9557 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.8986, allocations: 135.9 kB / 0.9558 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.8986, allocations: 0 / 0.9558 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.8986, allocations: 17.72 kB / 0.9558 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8988, allocations: 328.8 kB / 0.9562 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.8988, allocations: 11.98 kB / 0.9562 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.8989, allocations: 67.72 kB / 0.9562 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.8989, allocations: 52.23 kB / 0.9563 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8989, allocations: 0 / 0.9563 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.8991, allocations: 93.3 kB / 0.9564 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8991, allocations: 4 kB / 0.9564 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.8991, allocations: 4 kB / 0.9564 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8992, allocations: 0 / 0.9564 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.8992, allocations: 8 kB / 0.9564 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.8992, allocations: 7.875 kB / 0.9564 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.87e-05/0.8993, allocations: 23.91 kB / 0.9564 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.8994, allocations: 0 / 0.9564 GB, free: 9.691 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.0001215/0.8995, allocations: 205.1 kB / 0.9566 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.8996, allocations: 120.7 kB / 0.9567 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.8996, allocations: 125.8 kB / 0.9568 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/0.8997, allocations: 176.3 kB / 0.957 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-05/0.8997, allocations: 197.4 kB / 0.9572 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-05/0.8998, allocations: 180.2 kB / 0.9574 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.9001, allocations: 445.2 kB / 0.9578 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.9001, allocations: 113.7 kB / 0.9579 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.9002, allocations: 104.9 kB / 0.958 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.703e-05/0.9002, allocations: 176.3 kB / 0.9582 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.9003, allocations: 184.2 kB / 0.9583 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.396e-05/0.9003, allocations: 188.1 kB / 0.9585 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.662e-05/0.9004, allocations: 184.2 kB / 0.9587 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.9005, allocations: 311.6 kB / 0.959 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.9006, allocations: 209.8 kB / 0.9592 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.819e-05/0.9007, allocations: 177.8 kB / 0.9594 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.9008, allocations: 104.9 kB / 0.9595 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/0.9009, allocations: 184.3 kB / 0.9596 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.9009, allocations: 104.9 kB / 0.9597 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001565/0.9011, allocations: 180.5 kB / 0.9599 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9011, allocations: 8 kB / 0.9599 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002389/0.9014, allocations: 20 kB / 0.9599 GB, free: 5.855 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.0001274/0.9015, allocations: 170.5 kB / 0.9601 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.486e-05/0.9016, allocations: 23.92 kB / 0.9601 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.9016, allocations: 4 kB / 0.9601 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.9016, allocations: 0 / 0.9601 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.9022, allocations: 0.5041 MB / 0.9606 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.9027, allocations: 355.3 kB / 0.961 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.903, allocations: 0.7163 MB / 0.9617 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.903, allocations: 15.44 kB / 0.9617 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.903, allocations: 0 / 0.9617 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of Templates: time 0.003593/0.9066, allocations: 2.005 MB / 0.9636 GB, free: 2.059 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)