Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007061/0.000706, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00435/0.00435, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.255/1.255, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.665/1.665, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006353/0.0006354, allocations: 21.12 kB / 0.6744 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7093/0.9377, allocations: 234.6 MB / 1.017 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01112/0.9489, allocations: 7.151 MB / 1.024 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.9507, allocations: 42.59 kB / 1.024 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.9524, allocations: 0.5742 MB / 1.025 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.9578, allocations: 1.956 MB / 1.027 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.9626, allocations: 1.855 MB / 1.028 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005931/0.9685, allocations: 4.418 MB / 1.033 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.9703, allocations: 0.911 MB / 1.034 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004419/0.9747, allocations: 1.565 MB / 1.035 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.9766, allocations: 0.9594 MB / 1.036 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.9768, allocations: 49.31 kB / 1.036 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/0.9829, allocations: 2.828 MB / 1.039 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.9835, allocations: 381.9 kB / 1.039 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009867/0.9845, allocations: 0.6576 MB / 1.04 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.9893, allocations: 2.721 MB / 1.042 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.9893, allocations: 0 / 1.042 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.187e-06/0.9893, allocations: 0 / 1.042 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.9893, allocations: 3.938 kB / 1.043 GB, free: 4.324 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002712/0.9921, allocations: 1.472 MB / 1.044 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.9921, allocations: 10.44 kB / 1.044 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.9923, allocations: 122.4 kB / 1.044 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.9949, allocations: 426.5 kB / 1.044 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.9964, allocations: 0.9593 MB / 1.045 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.9965, allocations: 65.56 kB / 1.045 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.9966, allocations: 86.72 kB / 1.046 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.9982, allocations: 0.8793 MB / 1.046 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.9982, allocations: 0 / 1.046 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.9983, allocations: 33.88 kB / 1.046 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.9984, allocations: 29.09 kB / 1.046 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.9998, allocations: 0.8288 MB / 1.047 GB, free: 1.148 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/1.004, allocations: 3.633 MB / 1.051 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/1.006, allocations: 1.112 MB / 1.052 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/1.006, allocations: 384.8 kB / 1.052 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/1.007, allocations: 412.9 kB / 1.053 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.007, allocations: 43.12 kB / 1.053 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.034e-06/1.007, allocations: 0 / 1.053 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002102/1.009, allocations: 0.9897 MB / 1.054 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/1.009, allocations: 63.91 kB / 1.054 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/1.01, allocations: 0.8317 MB / 1.055 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/1.011, allocations: 37.7 kB / 1.055 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/1.011, allocations: 488.1 kB / 1.055 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.011, allocations: 209 kB / 1.055 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/1.011, allocations: 49.69 kB / 1.055 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.011, allocations: 326 kB / 1.056 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/1.012, allocations: 265 kB / 1.056 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/1.012, allocations: 376.3 kB / 1.056 GB, free: 8.645 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.014, allocations: 0.6087 MB / 1.057 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.014, allocations: 3.938 kB / 1.057 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001368/1.015, allocations: 0.7633 MB / 1.058 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/1.015, allocations: 114.7 kB / 1.058 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.015, allocations: 4 kB / 1.058 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.015, allocations: 4 kB / 1.058 GB, free: 7.109 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/1.016, allocations: 131.8 kB / 1.058 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/1.016, allocations: 4 kB / 1.058 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/1.017, allocations: 123.4 kB / 1.058 GB, free: 6.855 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/1.017, allocations: 27.98 kB / 1.058 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/1.017, allocations: 4 kB / 1.058 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/1.018, allocations: 0.626 MB / 1.059 GB, free: 6.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.018, allocations: 3.984 kB / 1.059 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/1.018, allocations: 4 kB / 1.059 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/1.018, allocations: 139.9 kB / 1.059 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.018, allocations: 4 kB / 1.059 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.019, allocations: 129.1 kB / 1.059 GB, free: 5.926 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.019, allocations: 27.94 kB / 1.059 GB, free: 5.898 MB / 0.7637 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 (69): * Single equations (assignments): 69 * 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.0004518/1.02, allocations: 376.9 kB / 1.059 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/1.02, allocations: 106.7 kB / 1.059 GB, free: 5.414 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/1.021, allocations: 0.7664 MB / 1.06 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.021, allocations: 8 kB / 1.06 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.021, allocations: 0 / 1.06 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/1.023, allocations: 0.919 MB / 1.061 GB, free: 3.629 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/1.026, allocations: 2.263 MB / 1.063 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.026, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/1.027, allocations: 148.1 kB / 1.063 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.027, allocations: 8 kB / 1.063 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/1.027, allocations: 23.98 kB / 1.063 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.027, allocations: 4 kB / 1.063 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.027, allocations: 7.938 kB / 1.063 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/1.029, allocations: 1.28 MB / 1.065 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/1.03, allocations: 267.7 kB / 1.065 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.03, allocations: 12 kB / 1.065 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/1.031, allocations: 103.8 kB / 1.065 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.031, allocations: 48.27 kB / 1.065 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.113e-05/1.031, allocations: 31.98 kB / 1.065 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008362/1.032, allocations: 0.5782 MB / 1.066 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.032, allocations: 0 / 1.066 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001327/1.033, allocations: 0.5338 MB / 1.066 GB, free: 14.11 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.002666/1.036, allocations: 1.976 MB / 1.068 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001845/1.037, allocations: 0.9666 MB / 1.069 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.037, allocations: 0 / 1.069 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/1.038, allocations: 351 kB / 1.069 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.042, allocations: 0.6276 MB / 1.07 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.055, allocations: 8.477 MB / 1.078 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/1.055, allocations: 1.128 MB / 1.079 GB, free: 164 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001224/1.057, allocations: 292.1 kB / 1.08 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/1.057, allocations: 415.3 kB / 1.08 GB, free: 15.46 MB / 0.795 GB Notification: Performance of SimCode: time 9.22e-07/1.057, allocations: 0 / 1.08 GB, free: 15.46 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04918/1.106, allocations: 28.12 MB / 1.107 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.107, allocations: 236.8 kB / 1.108 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.853, allocations: 0 / 1.108 GB, free: 3.512 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)