Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 185.1 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.5777 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008533, allocations: 93.59 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003703, allocations: 9 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7922/1.028, allocations: 219.2 MB / 1.114 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01052/1.039, allocations: 6.863 MB / 1.121 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/1.041, allocations: 44.59 kB / 1.121 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/1.042, allocations: 468.1 kB / 1.122 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006657/1.049, allocations: 1.542 MB / 1.123 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004922/1.054, allocations: 1.462 MB / 1.124 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005519/1.06, allocations: 3.824 MB / 1.128 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/1.061, allocations: 0.8109 MB / 1.129 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/1.066, allocations: 1.449 MB / 1.13 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/1.068, allocations: 0.9222 MB / 1.131 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003868/1.068, allocations: 52 kB / 1.131 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/1.073, allocations: 1.386 MB / 1.133 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008851/1.074, allocations: 385.4 kB / 1.133 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/1.075, allocations: 289.7 kB / 1.133 GB, free: 3.051 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/1.079, allocations: 1.811 MB / 1.135 GB, free: 2.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.079, allocations: 0 / 1.135 GB, free: 2.914 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.776e-06/1.079, allocations: 0 / 1.135 GB, free: 2.914 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.531e-05/1.079, allocations: 0 / 1.135 GB, free: 2.914 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.00372/1.083, allocations: 1.494 MB / 1.137 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/1.083, allocations: 8.406 kB / 1.137 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002086/1.083, allocations: 133.9 kB / 1.137 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/1.086, allocations: 422.1 kB / 1.137 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.087, allocations: 0.9197 MB / 1.138 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/1.087, allocations: 61.69 kB / 1.138 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.087, allocations: 84.34 kB / 1.138 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.089, allocations: 0.8825 MB / 1.139 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.089, allocations: 0 / 1.139 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/1.089, allocations: 32.31 kB / 1.139 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.089, allocations: 27.88 kB / 1.139 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.091, allocations: 0.8303 MB / 1.14 GB, free: 17.52 MB / 0.7136 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.00512/1.096, allocations: 3.655 MB / 1.143 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/1.098, allocations: 1.098 MB / 1.145 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/1.098, allocations: 380 kB / 1.145 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/1.099, allocations: 415.5 kB / 1.145 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.099, allocations: 43.61 kB / 1.145 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/1.099, allocations: 0 / 1.145 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.00203/1.101, allocations: 0.9773 MB / 1.146 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/1.101, allocations: 57.25 kB / 1.146 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/1.102, allocations: 0.8381 MB / 1.147 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/1.102, allocations: 42.27 kB / 1.147 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.102, allocations: 473 kB / 1.148 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.103, allocations: 217.5 kB / 1.148 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/1.103, allocations: 9.969 kB / 1.148 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.103, allocations: 334.8 kB / 1.148 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/1.103, allocations: 252.8 kB / 1.148 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/1.104, allocations: 375.7 kB / 1.149 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00049/1.104, allocations: 303.8 kB / 1.149 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.104, allocations: 0 / 1.149 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001264/1.105, allocations: 0.7335 MB / 1.15 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.106, allocations: 126.2 kB / 1.15 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.106, allocations: 3.984 kB / 1.15 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.106, allocations: 3.531 kB / 1.15 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/1.106, allocations: 134.1 kB / 1.15 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.106, allocations: 2.125 kB / 1.15 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/1.107, allocations: 129.5 kB / 1.15 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/1.107, allocations: 25.27 kB / 1.15 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-06/1.107, allocations: 2.344 kB / 1.15 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/1.108, allocations: 0.6189 MB / 1.151 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/1.108, allocations: 1.812 kB / 1.151 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/1.108, allocations: 5.938 kB / 1.151 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/1.109, allocations: 132 kB / 1.151 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.109, allocations: 4.797 kB / 1.151 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.11, allocations: 126.4 kB / 1.151 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.996e-05/1.11, allocations: 19.81 kB / 1.151 GB, free: 12.05 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005532/1.11, allocations: 385.2 kB / 1.151 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.111, allocations: 107.8 kB / 1.152 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/1.112, allocations: 0.7584 MB / 1.152 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.112, allocations: 5.344 kB / 1.152 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.112, allocations: 0 / 1.152 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/1.113, allocations: 0.9194 MB / 1.153 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/1.116, allocations: 2.257 MB / 1.155 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/1.116, allocations: 2.625 kB / 1.155 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.117, allocations: 147.1 kB / 1.156 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/1.117, allocations: 5.906 kB / 1.156 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/1.117, allocations: 25.06 kB / 1.156 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/1.117, allocations: 5.281 kB / 1.156 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.117, allocations: 5.875 kB / 1.156 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/1.119, allocations: 1.275 MB / 1.157 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/1.119, allocations: 271.5 kB / 1.157 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.12, allocations: 21.86 kB / 1.157 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/1.12, allocations: 114.1 kB / 1.157 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/1.121, allocations: 47.25 kB / 1.157 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/1.121, allocations: 21.19 kB / 1.157 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007367/1.121, allocations: 0.5779 MB / 1.158 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/1.121, allocations: 4 kB / 1.158 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001256/1.123, allocations: 0.539 MB / 1.158 GB, free: 9.031 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002551/1.125, allocations: 1.955 MB / 1.16 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.127, allocations: 0.9551 MB / 1.161 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.127, allocations: 3.344 kB / 1.161 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005231/1.127, allocations: 349.4 kB / 1.162 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.13, allocations: 0.6263 MB / 1.162 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/1.14, allocations: 6.251 MB / 1.168 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007266/1.141, allocations: 1.13 MB / 1.169 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001158/1.142, allocations: 300.2 kB / 1.17 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/1.142, allocations: 408 kB / 1.17 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.142, allocations: 2.531 kB / 1.17 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/1.193, allocations: 28.92 MB / 1.198 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/1.193, allocations: 235.7 kB / 1.199 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/4.203, allocations: 5.859 kB / 1.199 GB, free: 7.773 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)