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.00133/0.00133, allocations: 106.3 kB / 16.4 MB, free: 6.516 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.001302/0.001302, allocations: 184 kB / 17.34 MB, free: 5.738 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 288.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 99.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5615/0.5643, allocations: 86.97 MB / 0.767 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.7836/1.348, allocations: 240.5 MB / 1.002 GB, free: 19.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01128/1.359, allocations: 7.218 MB / 1.009 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/1.361, allocations: 54.41 kB / 1.009 GB, free: 19.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/1.363, allocations: 0.7266 MB / 1.01 GB, free: 19.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/1.369, allocations: 2.166 MB / 1.012 GB, free: 19.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004626/1.374, allocations: 2.062 MB / 1.014 GB, free: 19.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004247/1.378, allocations: 3.277 MB / 1.017 GB, free: 19.26 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/1.379, allocations: 0.9344 MB / 1.018 GB, free: 19.19 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/1.383, allocations: 1.856 MB / 1.02 GB, free: 19.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/1.385, allocations: 0.9669 MB / 1.021 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002095/1.385, allocations: 121 kB / 1.021 GB, free: 19.04 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/1.39, allocations: 2.505 MB / 1.023 GB, free: 19.01 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/1.39, allocations: 468.8 kB / 1.024 GB, free: 18.95 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009552/1.391, allocations: 0.7263 MB / 1.024 GB, free: 18.76 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005389/1.397, allocations: 2.7 MB / 1.027 GB, free: 18.44 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.397, allocations: 0.6875 kB / 1.027 GB, free: 18.44 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.425e-06/1.397, allocations: 0 / 1.027 GB, free: 18.44 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.335e-05/1.397, allocations: 0.7812 kB / 1.027 GB, free: 18.44 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.003117/1.4, allocations: 1.756 MB / 1.029 GB, free: 17.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.4, allocations: 12.84 kB / 1.029 GB, free: 17.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/1.403, allocations: 433.8 kB / 1.029 GB, free: 17.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/1.405, allocations: 1.026 MB / 1.03 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/1.405, allocations: 66.31 kB / 1.03 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.405, allocations: 81.44 kB / 1.03 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/1.407, allocations: 0.8647 MB / 1.031 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/1.407, allocations: 0 / 1.031 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/1.407, allocations: 38.02 kB / 1.031 GB, free: 16.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/1.407, allocations: 31.56 kB / 1.031 GB, free: 16.97 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/1.408, allocations: 0.8033 MB / 1.032 GB, free: 16.97 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.004944/1.413, allocations: 3.649 MB / 1.036 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.415, allocations: 1.075 MB / 1.037 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/1.415, allocations: 352.3 kB / 1.037 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/1.416, allocations: 407.4 kB / 1.037 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.416, allocations: 41.97 kB / 1.037 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/1.416, allocations: 0.5625 kB / 1.037 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002067/1.418, allocations: 0.9619 MB / 1.038 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.418, allocations: 59.22 kB / 1.038 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.419, allocations: 0.8385 MB / 1.039 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.991e-05/1.419, allocations: 43.64 kB / 1.039 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/1.419, allocations: 478.3 kB / 1.04 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.42, allocations: 229.7 kB / 1.04 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.42, allocations: 114.4 kB / 1.04 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/1.42, allocations: 331.3 kB / 1.04 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/1.42, allocations: 256.9 kB / 1.041 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/1.421, allocations: 366.6 kB / 1.041 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009384/1.422, allocations: 0.5881 MB / 1.041 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.422, allocations: 1.25 kB / 1.041 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00141/1.423, allocations: 0.7439 MB / 1.042 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.423, allocations: 6.5 kB / 1.042 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.423, allocations: 1.406 kB / 1.042 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/1.423, allocations: 4.938 kB / 1.042 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/1.424, allocations: 131.5 kB / 1.042 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.424, allocations: 3.781 kB / 1.042 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/1.425, allocations: 67.61 kB / 1.042 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/1.425, allocations: 20.86 kB / 1.042 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008688/1.425, allocations: 0.4962 MB / 1.043 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005613/1.426, allocations: 354.4 kB / 1.043 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000972/1.427, allocations: 0.5898 MB / 1.044 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.706e-06/1.427, allocations: 0.8125 kB / 1.044 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001315/1.428, allocations: 0.7257 MB / 1.045 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.428, allocations: 10.19 kB / 1.045 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.428, allocations: 3.938 kB / 1.045 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/1.428, allocations: 5.438 kB / 1.045 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/1.429, allocations: 127.7 kB / 1.045 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.429, allocations: 6.312 kB / 1.045 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/1.43, allocations: 61.66 kB / 1.045 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/1.43, allocations: 20.62 kB / 1.045 GB, free: 10.14 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.0001941/1.43, allocations: 218.5 kB / 1.045 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/1.43, allocations: 107.8 kB / 1.045 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.431, allocations: 0.7414 MB / 1.046 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.431, allocations: 10.25 kB / 1.046 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.431, allocations: 0 / 1.046 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009727/1.432, allocations: 0.8969 MB / 1.047 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/1.435, allocations: 2.248 MB / 1.049 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.435, allocations: 2.844 kB / 1.049 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/1.436, allocations: 143.3 kB / 1.049 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.436, allocations: 6.094 kB / 1.049 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.436, allocations: 17.38 kB / 1.049 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.436, allocations: 5.344 kB / 1.049 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.436, allocations: 9.5 kB / 1.049 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/1.438, allocations: 1.232 MB / 1.05 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/1.438, allocations: 268.9 kB / 1.051 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/1.438, allocations: 15.62 kB / 1.051 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007436/1.439, allocations: 39.83 kB / 1.051 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.439, allocations: 55.88 kB / 1.051 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/1.439, allocations: 21.53 kB / 1.051 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007624/1.44, allocations: 0.586 MB / 1.051 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.44, allocations: 0 / 1.051 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001427/1.441, allocations: 0.5479 MB / 1.052 GB, free: 5.559 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.0005442/1.442, allocations: 251.8 kB / 1.052 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.444, allocations: 0.8953 MB / 1.053 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.444, allocations: 0 / 1.053 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/1.444, allocations: 325.4 kB / 1.053 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.447, allocations: 0.6057 MB / 1.054 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/1.45, allocations: 2.17 MB / 1.056 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/1.45, allocations: 1.124 MB / 1.057 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001066/1.451, allocations: 298.6 kB / 1.057 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.451, allocations: 83.42 kB / 1.057 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/1.451, allocations: 0 / 1.057 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.04111/1.492, allocations: 20.59 MB / 1.077 GB, free: 11.62 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)