Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.3 MB / 0.7915 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001402, allocations: 84.03 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.215e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.649/4.93, allocations: 1.929 GB / 3.148 GB, free: 330.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/4.93, allocations: 89.36 kB / 3.148 GB, free: 330.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.905/7.835, allocations: 0.9307 GB / 4.078 GB, free: 230.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.312e-06/7.835, allocations: 0 / 4.078 GB, free: 230.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001663/7.835, allocations: 39.75 kB / 4.078 GB, free: 230.1 MB / 1.167 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.003678/7.839, allocations: 1.534 MB / 4.08 GB, free: 229.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/7.839, allocations: 10.66 kB / 4.08 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/7.839, allocations: 126.4 kB / 4.08 GB, free: 229.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/7.842, allocations: 421.5 kB / 4.08 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/7.844, allocations: 1.075 MB / 4.081 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/7.845, allocations: 65.28 kB / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/7.845, allocations: 83.72 kB / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/7.846, allocations: 0.7948 MB / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/7.846, allocations: 0 / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/7.846, allocations: 37.52 kB / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/7.846, allocations: 31 kB / 4.082 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/7.847, allocations: 0.7132 MB / 4.083 GB, free: 228.9 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.00487/7.852, allocations: 3.674 MB / 4.087 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/7.853, allocations: 1.061 MB / 4.088 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/7.854, allocations: 341.4 kB / 4.088 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/7.854, allocations: 403.8 kB / 4.088 GB, free: 226.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/7.854, allocations: 38.19 kB / 4.088 GB, free: 226.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/7.854, allocations: 3.938 kB / 4.088 GB, free: 226.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.00136/7.856, allocations: 0.6736 MB / 4.089 GB, free: 226.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/7.856, allocations: 56.94 kB / 4.089 GB, free: 226.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/7.857, allocations: 0.7132 MB / 4.09 GB, free: 226 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/7.857, allocations: 38.8 kB / 4.09 GB, free: 225.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/7.857, allocations: 487.6 kB / 4.09 GB, free: 225.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/7.857, allocations: 220.8 kB / 4.091 GB, free: 225.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/7.857, allocations: 14.38 kB / 4.091 GB, free: 225.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/7.857, allocations: 329.3 kB / 4.091 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/7.858, allocations: 227.5 kB / 4.091 GB, free: 225.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/7.858, allocations: 360.5 kB / 4.092 GB, free: 225.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/7.858, allocations: 284.1 kB / 4.092 GB, free: 225.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/7.858, allocations: 0 / 4.092 GB, free: 225.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009126/7.859, allocations: 0.6876 MB / 4.092 GB, free: 225.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/7.859, allocations: 455.8 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/7.859, allocations: 3.906 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/7.859, allocations: 3.344 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/7.86, allocations: 135 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/7.86, allocations: 0 / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/7.861, allocations: 145.2 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/7.861, allocations: 27.05 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/7.861, allocations: 6.438 kB / 4.093 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000745/7.862, allocations: 0.579 MB / 4.094 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/7.862, allocations: 0 / 4.094 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/7.862, allocations: 7.25 kB / 4.094 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/7.862, allocations: 135.8 kB / 4.094 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/7.862, allocations: 3.594 kB / 4.094 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008077/7.863, allocations: 141 kB / 4.094 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/7.863, allocations: 25.05 kB / 4.094 GB, free: 224.6 MB / 1.167 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 () * 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.0001273/7.863, allocations: 142.6 kB / 4.094 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/7.864, allocations: 101.3 kB / 4.094 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/7.865, allocations: 0.7266 MB / 4.095 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/7.865, allocations: 6.344 kB / 4.095 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/7.865, allocations: 0 / 4.095 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007408/7.865, allocations: 0.8807 MB / 4.096 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/7.868, allocations: 2.192 MB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/7.868, allocations: 6.844 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/7.869, allocations: 145.4 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/7.869, allocations: 13.02 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/7.869, allocations: 20.89 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/7.869, allocations: 11.44 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/7.869, allocations: 6.625 kB / 4.098 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/7.87, allocations: 1.291 MB / 4.099 GB, free: 222.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/7.871, allocations: 265.5 kB / 4.1 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/7.871, allocations: 17.12 kB / 4.1 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/7.872, allocations: 124.8 kB / 4.1 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/7.872, allocations: 52.5 kB / 4.1 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/7.872, allocations: 22.86 kB / 4.1 GB, free: 222.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006252/7.872, allocations: 0.564 MB / 4.1 GB, free: 222.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.243e-06/7.872, allocations: 0 / 4.1 GB, free: 222.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001921/7.874, allocations: 0.7697 MB / 4.101 GB, free: 222.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.004125/7.878, allocations: 4.952 MB / 4.106 GB, free: 219.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001252/7.88, allocations: 0.9099 MB / 4.107 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/7.88, allocations: 3.938 kB / 4.107 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/7.88, allocations: 314.2 kB / 4.107 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/7.883, allocations: 0.6694 MB / 4.108 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/7.886, allocations: 2.003 MB / 4.11 GB, free: 219.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/7.887, allocations: 1.154 MB / 4.111 GB, free: 218.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001285/7.888, allocations: 380.7 kB / 4.111 GB, free: 218.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/7.889, allocations: 399.2 kB / 4.112 GB, free: 218.4 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/7.889, allocations: 0 / 4.112 GB, free: 218.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5947/8.483, allocations: 70.81 MB / 4.181 GB, free: 179.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/8.483, allocations: 201 kB / 4.181 GB, free: 178.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.482/12.97, allocations: 0 / 4.181 GB, free: 178.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat does not exist to compare? outputFormat=mat