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.373/2.373, allocations: 251 MB / 265.9 MB, free: 11.7 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.00158/0.00158, allocations: 180.7 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001174/0.001174, allocations: 114.5 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005696/0.0005696, allocations: 12.31 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.217, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.375/7.592, allocations: 2.2 GB / 3.099 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/7.592, allocations: 92.83 kB / 3.099 GB, free: 244.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.226/11.82, allocations: 0.8901 GB / 3.989 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.705e-06/11.82, allocations: 0 / 3.989 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001852/11.82, allocations: 39.98 kB / 3.989 GB, free: 103.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.006729/11.83, allocations: 1.748 MB / 3.991 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/11.83, allocations: 12.03 kB / 3.991 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000553/11.83, allocations: 126.9 kB / 3.991 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/11.83, allocations: 417.9 kB / 3.992 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003795/11.83, allocations: 1.084 MB / 3.993 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/11.83, allocations: 62 kB / 3.993 GB, free: 100 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/11.83, allocations: 92 kB / 3.993 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/11.84, allocations: 0.839 MB / 3.994 GB, free: 99.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/11.84, allocations: 4 kB / 3.994 GB, free: 99.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/11.84, allocations: 32 kB / 3.994 GB, free: 99.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/11.84, allocations: 30 kB / 3.994 GB, free: 99.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/11.84, allocations: 0.8003 MB / 3.994 GB, free: 98.24 MB / 0.8855 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.007723/11.85, allocations: 3.685 MB / 3.998 GB, free: 94.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/11.85, allocations: 1.097 MB / 3.999 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009115/11.85, allocations: 400.9 kB / 3.999 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/11.85, allocations: 39.12 kB / 4 GB, free: 92.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.07e-06/11.85, allocations: 0 / 4 GB, free: 92.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003655/11.85, allocations: 1.013 MB / 4.001 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/11.86, allocations: 55.97 kB / 4.001 GB, free: 91.47 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/11.86, allocations: 0.7218 MB / 4.001 GB, free: 90.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001736/11.86, allocations: 41.7 kB / 4.001 GB, free: 90.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/11.86, allocations: 484.1 kB / 4.002 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/11.86, allocations: 208.9 kB / 4.002 GB, free: 89.99 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/11.86, allocations: 12 kB / 4.002 GB, free: 89.98 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/11.86, allocations: 330 kB / 4.002 GB, free: 89.65 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/11.86, allocations: 261 kB / 4.003 GB, free: 89.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009103/11.86, allocations: 413.5 kB / 4.003 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/11.86, allocations: 314.8 kB / 4.003 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/11.86, allocations: 0 / 4.003 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00218/11.86, allocations: 0.7672 MB / 4.004 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/11.86, allocations: 458.7 kB / 4.004 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/11.86, allocations: 0 / 4.004 GB, free: 87.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/11.86, allocations: 4 kB / 4.004 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/11.86, allocations: 135.9 kB / 4.005 GB, free: 87.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/11.86, allocations: 7.938 kB / 4.005 GB, free: 87.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/11.87, allocations: 135.3 kB / 4.005 GB, free: 87.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/11.87, allocations: 27.98 kB / 4.005 GB, free: 87.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/11.87, allocations: 4 kB / 4.005 GB, free: 87.08 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003272/11.87, allocations: 0.6301 MB / 4.005 GB, free: 86.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/11.87, allocations: 0 / 4.005 GB, free: 86.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/11.87, allocations: 4 kB / 4.005 GB, free: 86.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/11.87, allocations: 143.9 kB / 4.005 GB, free: 86.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/11.87, allocations: 4 kB / 4.006 GB, free: 86.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/11.87, allocations: 127.3 kB / 4.006 GB, free: 86.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/11.88, allocations: 23.98 kB / 4.006 GB, free: 86.15 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 () * 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.001179/11.88, allocations: 384.9 kB / 4.006 GB, free: 85.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/11.88, allocations: 106.7 kB / 4.006 GB, free: 85.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/11.88, allocations: 0.7898 MB / 4.007 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/11.88, allocations: 4 kB / 4.007 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/11.88, allocations: 4 kB / 4.007 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002741/11.88, allocations: 0.9541 MB / 4.008 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008416/11.89, allocations: 2.265 MB / 4.01 GB, free: 81.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/11.89, allocations: 8.359 kB / 4.01 GB, free: 81.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/11.89, allocations: 155.8 kB / 4.01 GB, free: 81.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/11.89, allocations: 4 kB / 4.01 GB, free: 81.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.917e-05/11.89, allocations: 19.98 kB / 4.01 GB, free: 81.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/11.89, allocations: 11.72 kB / 4.01 GB, free: 81.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/11.89, allocations: 4 kB / 4.01 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0048/11.9, allocations: 1.439 MB / 4.012 GB, free: 79.65 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/11.9, allocations: 267.7 kB / 4.012 GB, free: 79.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/11.9, allocations: 16 kB / 4.012 GB, free: 79.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/11.9, allocations: 123.8 kB / 4.012 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/11.9, allocations: 52.33 kB / 4.012 GB, free: 79.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/11.9, allocations: 24 kB / 4.012 GB, free: 79.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001765/11.91, allocations: 0.5744 MB / 4.013 GB, free: 78.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.82e-07/11.91, allocations: 0 / 4.013 GB, free: 78.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00434/11.91, allocations: 0.7682 MB / 4.013 GB, free: 77.8 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 () * 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.01071/11.92, allocations: 5.098 MB / 4.018 GB, free: 72.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003024/11.92, allocations: 0.9822 MB / 4.019 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/11.92, allocations: 0 / 4.019 GB, free: 71.49 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/11.92, allocations: 359 kB / 4.02 GB, free: 71.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/11.93, allocations: 0.664 MB / 4.02 GB, free: 70.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/11.94, allocations: 6.856 MB / 4.027 GB, free: 63.37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/11.95, allocations: 1.151 MB / 4.028 GB, free: 62.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001956/11.95, allocations: 292.1 kB / 4.028 GB, free: 61.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008831/11.95, allocations: 411.3 kB / 4.029 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/11.95, allocations: 0 / 4.029 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/12.08, allocations: 63.53 MB / 4.091 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/12.08, allocations: 220 kB / 4.091 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/17.33, allocations: 0 / 4.091 GB, free: 14.07 MB / 0.9011 GB