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.317/2.317, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001507/0.001507, allocations: 171.2 kB / 315.4 MB, free: 4.027 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.044/2.044, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 91.45 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.216e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.096/7.292, allocations: 2.2 GB / 3.085 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/7.292, allocations: 91.05 kB / 3.085 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.86/12.15, allocations: 0.8791 GB / 3.964 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/12.15, allocations: 1.031 kB / 3.964 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002103/12.15, allocations: 34.16 kB / 3.964 GB, free: 142.8 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.006193/12.16, allocations: 1.532 MB / 3.965 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/12.16, allocations: 9.531 kB / 3.965 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/12.16, allocations: 415.4 kB / 3.966 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/12.17, allocations: 1.07 MB / 3.967 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.44e-05/12.17, allocations: 29.06 kB / 3.967 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/12.17, allocations: 54.66 kB / 3.967 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002263/12.17, allocations: 0.682 MB / 3.967 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/12.17, allocations: 0.6888 MB / 3.968 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/12.17, allocations: 1.125 kB / 3.968 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/12.17, allocations: 0 / 3.968 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/12.17, allocations: 32.27 kB / 3.968 GB, free: 142 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.008613/12.18, allocations: 3.508 MB / 3.972 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/12.18, allocations: 1.042 MB / 3.973 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/12.18, allocations: 325.9 kB / 3.973 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009183/12.18, allocations: 405.8 kB / 3.973 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/12.18, allocations: 42.08 kB / 3.973 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.557e-06/12.18, allocations: 0 / 3.973 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003075/12.19, allocations: 0.715 MB / 3.974 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/12.19, allocations: 58.75 kB / 3.974 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/12.19, allocations: 0.5903 MB / 3.975 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/12.19, allocations: 27.42 kB / 3.975 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/12.19, allocations: 497 kB / 3.975 GB, free: 139 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/12.19, allocations: 201.1 kB / 3.975 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/12.19, allocations: 3.562 kB / 3.975 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/12.19, allocations: 327 kB / 3.976 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/12.19, allocations: 223 kB / 3.976 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/12.19, allocations: 353.7 kB / 3.976 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/12.19, allocations: 341.2 kB / 3.977 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/12.19, allocations: 1.094 kB / 3.977 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002455/12.2, allocations: 0.7127 MB / 3.977 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/12.2, allocations: 451.7 kB / 3.978 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/12.2, allocations: 1.406 kB / 3.978 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/12.2, allocations: 3.938 kB / 3.978 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/12.2, allocations: 140.3 kB / 3.978 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/12.2, allocations: 7.672 kB / 3.978 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/12.2, allocations: 116.7 kB / 3.978 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/12.2, allocations: 27.02 kB / 3.978 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/12.2, allocations: 4.375 kB / 3.978 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001923/12.2, allocations: 0.5763 MB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/12.2, allocations: 1.688 kB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/12.2, allocations: 7.656 kB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/12.2, allocations: 135.7 kB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/12.2, allocations: 6.219 kB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/12.2, allocations: 108.4 kB / 3.979 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.234e-05/12.2, allocations: 31.77 kB / 3.979 GB, free: 137.8 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.0002782/12.21, allocations: 118.2 kB / 3.979 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002115/12.21, allocations: 0.6545 MB / 3.98 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/12.21, allocations: 97.97 kB / 3.98 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/12.21, allocations: 0.7354 MB / 3.98 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/12.21, allocations: 5.875 kB / 3.98 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/12.21, allocations: 1.281 kB / 3.98 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001709/12.21, allocations: 0.9102 MB / 3.981 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/12.22, allocations: 2.099 MB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/12.22, allocations: 3.906 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/12.22, allocations: 148.3 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/12.22, allocations: 7.656 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/12.22, allocations: 11.11 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/12.22, allocations: 11.88 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/12.22, allocations: 3.938 kB / 3.983 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/12.22, allocations: 1.339 MB / 3.985 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009117/12.22, allocations: 251.5 kB / 3.985 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/12.22, allocations: 14.98 kB / 3.985 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/12.23, allocations: 121.2 kB / 3.985 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/12.23, allocations: 48.28 kB / 3.985 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/12.23, allocations: 25.48 kB / 3.985 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008842/12.23, allocations: 481.5 kB / 3.986 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/12.23, allocations: 3.844 kB / 3.986 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003014/12.23, allocations: 0.6784 MB / 3.986 GB, free: 135.6 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.007852/12.24, allocations: 5.248 MB / 3.991 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002277/12.24, allocations: 0.8561 MB / 3.992 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/12.24, allocations: 7 kB / 3.992 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/12.24, allocations: 293.4 kB / 3.993 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/12.25, allocations: 0.6035 MB / 3.993 GB, free: 133 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/12.25, allocations: 1.933 MB / 3.995 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/12.25, allocations: 1.152 MB / 3.996 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002594/12.26, allocations: 348.8 kB / 3.997 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008935/12.26, allocations: 395.9 kB / 3.997 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.613e-06/12.26, allocations: 0 / 3.997 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/12.39, allocations: 45.15 MB / 4.041 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/12.39, allocations: 179.8 kB / 4.041 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.688/17.08, allocations: 0 / 4.041 GB, free: 130.5 MB / 0.8855 GB