Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.603/2.603, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 184.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001191, allocations: 100.6 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004994, allocations: 15.84 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.888/7.119, allocations: 2.082 GB / 3.06 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/7.119, allocations: 94.56 kB / 3.06 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.171/12.29, allocations: 0.9173 GB / 3.978 GB, free: 148.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.315e-06/12.29, allocations: 0 / 3.978 GB, free: 148.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002202/12.29, allocations: 35.75 kB / 3.978 GB, free: 148.1 MB / 0.948 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.007771/12.3, allocations: 1.754 MB / 3.98 GB, free: 147.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/12.3, allocations: 10.28 kB / 3.98 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007062/12.3, allocations: 129.4 kB / 3.98 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/12.3, allocations: 412.7 kB / 3.98 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/12.31, allocations: 1.075 MB / 3.981 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/12.31, allocations: 66.25 kB / 3.981 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/12.31, allocations: 91.59 kB / 3.981 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/12.31, allocations: 0.8365 MB / 3.982 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/12.31, allocations: 1.531 kB / 3.982 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/12.31, allocations: 31.69 kB / 3.982 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.075e-05/12.31, allocations: 30.66 kB / 3.982 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/12.32, allocations: 0.793 MB / 3.983 GB, free: 147.2 MB / 0.948 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.01094/12.33, allocations: 3.661 MB / 3.986 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/12.33, allocations: 1.104 MB / 3.988 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/12.33, allocations: 406 kB / 3.988 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/12.33, allocations: 45.66 kB / 3.988 GB, free: 144.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.486e-06/12.33, allocations: 0 / 3.988 GB, free: 144.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004554/12.34, allocations: 1.006 MB / 3.989 GB, free: 144.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/12.34, allocations: 61.09 kB / 3.989 GB, free: 144.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/12.34, allocations: 0.7206 MB / 3.99 GB, free: 144.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/12.34, allocations: 38.64 kB / 3.99 GB, free: 144.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/12.34, allocations: 481.6 kB / 3.99 GB, free: 144.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/12.34, allocations: 216.5 kB / 3.99 GB, free: 144 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/12.34, allocations: 11.25 kB / 3.99 GB, free: 144 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/12.34, allocations: 330.7 kB / 3.991 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/12.34, allocations: 264 kB / 3.991 GB, free: 143.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/12.34, allocations: 410.3 kB / 3.991 GB, free: 143.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/12.34, allocations: 318.6 kB / 3.992 GB, free: 143.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/12.34, allocations: 0 / 3.992 GB, free: 143.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002736/12.35, allocations: 0.7608 MB / 3.992 GB, free: 143.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/12.35, allocations: 455.6 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/12.35, allocations: 1.156 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/12.35, allocations: 5.859 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/12.35, allocations: 139.7 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/12.35, allocations: 4.719 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/12.35, allocations: 134.9 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/12.35, allocations: 27.36 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/12.35, allocations: 6.125 kB / 3.993 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/12.35, allocations: 0.6381 MB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/12.35, allocations: 5.062 kB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/12.35, allocations: 4.047 kB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/12.35, allocations: 132.3 kB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/12.35, allocations: 3.188 kB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/12.36, allocations: 126.6 kB / 3.994 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/12.36, allocations: 26.88 kB / 3.994 GB, free: 143 MB / 0.948 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.001043/12.36, allocations: 388.6 kB / 3.994 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/12.36, allocations: 100.2 kB / 3.995 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/12.36, allocations: 0.7933 MB / 3.995 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/12.36, allocations: 9.969 kB / 3.995 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/12.36, allocations: 0.6094 kB / 3.995 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002074/12.36, allocations: 0.9529 MB / 3.996 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006828/12.37, allocations: 2.262 MB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/12.37, allocations: 2.844 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/12.37, allocations: 155.9 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.555e-05/12.37, allocations: 11.25 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.209e-05/12.37, allocations: 16.34 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/12.37, allocations: 5.781 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/12.37, allocations: 7.469 kB / 3.999 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/12.38, allocations: 1.441 MB / 4 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/12.38, allocations: 263 kB / 4 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/12.38, allocations: 20.33 kB / 4 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/12.38, allocations: 125.1 kB / 4 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/12.38, allocations: 50.45 kB / 4.001 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/12.38, allocations: 29.16 kB / 4.001 GB, free: 140.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001414/12.38, allocations: 0.5731 MB / 4.001 GB, free: 140.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/12.38, allocations: 3.062 kB / 4.001 GB, free: 140.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003798/12.38, allocations: 0.7659 MB / 4.002 GB, free: 140.8 MB / 0.948 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 (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.008492/12.39, allocations: 5.091 MB / 4.007 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003413/12.4, allocations: 0.9859 MB / 4.008 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/12.4, allocations: 0 / 4.008 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/12.4, allocations: 357.2 kB / 4.008 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006603/12.4, allocations: 0.6649 MB / 4.009 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/12.42, allocations: 6.852 MB / 4.015 GB, free: 135.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/12.42, allocations: 1.143 MB / 4.017 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00222/12.42, allocations: 293.4 kB / 4.017 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/12.43, allocations: 405.7 kB / 4.017 GB, free: 134.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/12.43, allocations: 0 / 4.017 GB, free: 134.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/12.57, allocations: 63.4 MB / 4.079 GB, free: 133.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/12.57, allocations: 222.6 kB / 4.079 GB, free: 133.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/17.91, allocations: 0 / 4.079 GB, free: 133.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)