Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.157/2.157, allocations: 248.5 MB / 261.1 MB, free: 6.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001201/0.001201, allocations: 97.92 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.792e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.185/7.403, allocations: 2.2 GB / 3.091 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/7.403, allocations: 90.56 kB / 3.091 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.978/12.38, allocations: 0.8892 GB / 3.98 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.535e-06/12.38, allocations: 0 / 3.98 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001887/12.38, allocations: 40.7 kB / 3.98 GB, free: 138.6 MB / 0.8855 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.005406/12.39, allocations: 1.534 MB / 3.982 GB, free: 138 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/12.39, allocations: 10.38 kB / 3.982 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003383/12.39, allocations: 129.1 kB / 3.982 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/12.39, allocations: 414.4 kB / 3.982 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/12.39, allocations: 1.063 MB / 3.983 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/12.4, allocations: 70.28 kB / 3.983 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/12.4, allocations: 87.38 kB / 3.983 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/12.4, allocations: 0.8104 MB / 3.984 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/12.4, allocations: 3.031 kB / 3.984 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/12.4, allocations: 32.81 kB / 3.984 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-05/12.4, allocations: 31.38 kB / 3.984 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/12.4, allocations: 0.7112 MB / 3.985 GB, free: 137.6 MB / 0.8855 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.007925/12.41, allocations: 3.678 MB / 3.989 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/12.41, allocations: 1.062 MB / 3.99 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007648/12.41, allocations: 341.5 kB / 3.99 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008984/12.41, allocations: 405 kB / 3.99 GB, free: 135 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/12.41, allocations: 40.56 kB / 3.99 GB, free: 135 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/12.41, allocations: 2.812 kB / 3.99 GB, free: 135 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002391/12.41, allocations: 0.6626 MB / 3.991 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/12.41, allocations: 59.09 kB / 3.991 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/12.42, allocations: 0.7151 MB / 3.992 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002221/12.42, allocations: 39.39 kB / 3.992 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/12.42, allocations: 484.3 kB / 3.992 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/12.42, allocations: 214.5 kB / 3.993 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/12.42, allocations: 11 kB / 3.993 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/12.42, allocations: 335.8 kB / 3.993 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/12.42, allocations: 220.8 kB / 3.993 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007466/12.42, allocations: 374.8 kB / 3.993 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/12.42, allocations: 273.4 kB / 3.994 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/12.42, allocations: 2.812 kB / 3.994 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001956/12.42, allocations: 0.6844 MB / 3.994 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/12.42, allocations: 451.6 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/12.42, allocations: 10.5 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/12.42, allocations: 3.906 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/12.42, allocations: 128.9 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/12.42, allocations: 7.062 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/12.42, allocations: 131.9 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/12.42, allocations: 28.86 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/12.42, allocations: 5.562 kB / 3.995 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001478/12.43, allocations: 0.5635 MB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/12.43, allocations: 1.531 kB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/12.43, allocations: 3.906 kB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/12.43, allocations: 137.6 kB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/12.43, allocations: 8.766 kB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/12.43, allocations: 129.8 kB / 3.996 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/12.43, allocations: 23.47 kB / 3.996 GB, free: 133.3 MB / 0.8855 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.0003222/12.43, allocations: 139.7 kB / 3.996 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/12.43, allocations: 103.4 kB / 3.996 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/12.43, allocations: 0.7195 MB / 3.997 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/12.43, allocations: 3.812 kB / 3.997 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/12.43, allocations: 6.109 kB / 3.997 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/12.43, allocations: 0.8746 MB / 3.998 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/12.44, allocations: 2.193 MB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/12.44, allocations: 3.562 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/12.44, allocations: 156.8 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/12.44, allocations: 3.625 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/12.44, allocations: 25.39 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/12.44, allocations: 3.938 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.44, allocations: 7.219 kB / 4 GB, free: 132 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/12.44, allocations: 1.322 MB / 4.001 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/12.45, allocations: 267.8 kB / 4.002 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/12.45, allocations: 15.41 kB / 4.002 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/12.45, allocations: 136.6 kB / 4.002 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/12.45, allocations: 46.86 kB / 4.002 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/12.45, allocations: 27.17 kB / 4.002 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001226/12.45, allocations: 0.5644 MB / 4.002 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.31e-07/12.45, allocations: 0 / 4.002 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003495/12.45, allocations: 0.7673 MB / 4.003 GB, free: 131.2 MB / 0.8855 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 () * 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.007523/12.46, allocations: 4.967 MB / 4.008 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002534/12.46, allocations: 0.8952 MB / 4.009 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/12.46, allocations: 0 / 4.009 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/12.46, allocations: 321.1 kB / 4.009 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/12.47, allocations: 0.6773 MB / 4.01 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/12.48, allocations: 2.006 MB / 4.012 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007858/12.48, allocations: 1.152 MB / 4.013 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002762/12.48, allocations: 382.6 kB / 4.013 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009345/12.48, allocations: 391.2 kB / 4.014 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/12.48, allocations: 0 / 4.014 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/12.64, allocations: 70.85 MB / 4.083 GB, free: 118 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/12.64, allocations: 198.5 kB / 4.083 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.664/18.3, allocations: 0 / 4.083 GB, free: 117.7 MB / 0.8855 GB