Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005132/0.005132, allocations: 102 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 195 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 290.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 92.28 kB / 0.6814 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4958, allocations: 86.98 MB / 0.7664 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.7793/1.275, allocations: 239.8 MB / 1.001 GB, free: 19.51 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01152/1.287, allocations: 7.208 MB / 1.008 GB, free: 19.39 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/1.289, allocations: 55.53 kB / 1.008 GB, free: 19.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/1.292, allocations: 0.7162 MB / 1.008 GB, free: 19.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007817/1.299, allocations: 2.167 MB / 1.011 GB, free: 19.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006462/1.306, allocations: 2.063 MB / 1.013 GB, free: 19.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0075/1.313, allocations: 3.278 MB / 1.016 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/1.316, allocations: 1.147 MB / 1.017 GB, free: 19.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004489/1.32, allocations: 1.857 MB / 1.019 GB, free: 19.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/1.323, allocations: 0.9631 MB / 1.02 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/1.323, allocations: 120.8 kB / 1.02 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/1.328, allocations: 2.503 MB / 1.022 GB, free: 18.92 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006938/1.329, allocations: 464.5 kB / 1.023 GB, free: 18.87 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.33, allocations: 0.7156 MB / 1.023 GB, free: 18.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/1.336, allocations: 2.694 MB / 1.026 GB, free: 18.38 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.336, allocations: 0.5312 kB / 1.026 GB, free: 18.38 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/1.336, allocations: 0.75 kB / 1.026 GB, free: 18.38 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.84e-05/1.336, allocations: 0 / 1.026 GB, free: 18.38 MB / 0.7169 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.003001/1.339, allocations: 1.713 MB / 1.028 GB, free: 17.46 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.339, allocations: 10.78 kB / 1.028 GB, free: 17.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/1.342, allocations: 425.7 kB / 1.028 GB, free: 17.39 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/1.344, allocations: 1.019 MB / 1.029 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/1.344, allocations: 61.94 kB / 1.029 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.344, allocations: 88.56 kB / 1.029 GB, free: 17.03 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.345, allocations: 0.8648 MB / 1.03 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.345, allocations: 0 / 1.03 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/1.345, allocations: 32.62 kB / 1.03 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/1.345, allocations: 28.75 kB / 1.03 GB, free: 16.96 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.347, allocations: 0.8107 MB / 1.031 GB, free: 16.96 MB / 0.7169 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.004848/1.352, allocations: 3.642 MB / 1.034 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/1.353, allocations: 1.092 MB / 1.035 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/1.354, allocations: 377.2 kB / 1.036 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/1.354, allocations: 408 kB / 1.036 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.354, allocations: 44.97 kB / 1.036 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/1.354, allocations: 0 / 1.036 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002106/1.357, allocations: 0.9523 MB / 1.037 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.357, allocations: 61.53 kB / 1.037 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/1.358, allocations: 0.8382 MB / 1.038 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/1.358, allocations: 38.3 kB / 1.038 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/1.358, allocations: 483.7 kB / 1.039 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.358, allocations: 211.6 kB / 1.039 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.359, allocations: 107.2 kB / 1.039 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/1.359, allocations: 331.2 kB / 1.039 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/1.359, allocations: 255.8 kB / 1.039 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/1.36, allocations: 366.6 kB / 1.04 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.361, allocations: 0.5895 MB / 1.04 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.361, allocations: 0.8125 kB / 1.04 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001431/1.362, allocations: 0.7375 MB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.362, allocations: 7.688 kB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.362, allocations: 2.766 kB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.362, allocations: 4.312 kB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/1.363, allocations: 127.5 kB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/1.363, allocations: 3.438 kB / 1.041 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/1.364, allocations: 73.56 kB / 1.041 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/1.364, allocations: 23.84 kB / 1.041 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000864/1.365, allocations: 0.4952 MB / 1.042 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005266/1.365, allocations: 367.6 kB / 1.042 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009367/1.366, allocations: 0.5786 MB / 1.043 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/1.366, allocations: 0 / 1.043 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001276/1.368, allocations: 0.7242 MB / 1.043 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.368, allocations: 9.469 kB / 1.043 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.368, allocations: 3.938 kB / 1.043 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/1.368, allocations: 2.938 kB / 1.043 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/1.368, allocations: 128.2 kB / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.368, allocations: 3.859 kB / 1.044 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/1.369, allocations: 66.02 kB / 1.044 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/1.369, allocations: 22.38 kB / 1.044 GB, free: 10.23 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001959/1.369, allocations: 216.6 kB / 1.044 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.37, allocations: 105.2 kB / 1.044 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.371, allocations: 0.7377 MB / 1.045 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.371, allocations: 5.562 kB / 1.045 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.371, allocations: 0.8438 kB / 1.045 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001028/1.372, allocations: 0.9029 MB / 1.046 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/1.375, allocations: 2.246 MB / 1.048 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/1.375, allocations: 2.938 kB / 1.048 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/1.376, allocations: 148 kB / 1.048 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.376, allocations: 5.031 kB / 1.048 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/1.376, allocations: 20.23 kB / 1.048 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/1.376, allocations: 8.5 kB / 1.048 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.376, allocations: 5.188 kB / 1.048 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/1.378, allocations: 1.226 MB / 1.049 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/1.378, allocations: 259.8 kB / 1.049 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.379, allocations: 19.86 kB / 1.049 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/1.379, allocations: 44.27 kB / 1.049 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/1.379, allocations: 49.05 kB / 1.049 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/1.38, allocations: 24.42 kB / 1.05 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007387/1.38, allocations: 0.5846 MB / 1.05 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.8e-07/1.38, allocations: 4 kB / 1.05 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001417/1.382, allocations: 0.5377 MB / 1.051 GB, free: 5.215 MB / 0.7169 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/1.382, allocations: 244.2 kB / 1.051 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.384, allocations: 0.9382 MB / 1.052 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.384, allocations: 0.5 kB / 1.052 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005343/1.385, allocations: 348.3 kB / 1.052 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.387, allocations: 0.6049 MB / 1.053 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/1.39, allocations: 2.125 MB / 1.055 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/1.391, allocations: 1.128 MB / 1.056 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001093/1.392, allocations: 296 kB / 1.056 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/1.392, allocations: 79.42 kB / 1.056 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.392, allocations: 0 / 1.056 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.0379/1.43, allocations: 20.49 MB / 1.076 GB, free: 11.38 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)