Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.628/2.628, allocations: 251.2 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 183.2 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 96.28 kB / 0.6813 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006355, allocations: 12.59 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 106.3 MB / 0.899 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.024/1.24, allocations: 219.2 MB / 1.113 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01594/1.256, allocations: 6.863 MB / 1.12 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/1.259, allocations: 46.34 kB / 1.12 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/1.262, allocations: 464.4 kB / 1.12 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006951/1.269, allocations: 1.541 MB / 1.122 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006254/1.275, allocations: 1.456 MB / 1.123 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006334/1.281, allocations: 3.846 MB / 1.127 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.284, allocations: 0.8656 MB / 1.128 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004954/1.289, allocations: 1.451 MB / 1.129 GB, free: 3.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/1.291, allocations: 0.9194 MB / 1.13 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/1.291, allocations: 48.59 kB / 1.13 GB, free: 3.211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005346/1.297, allocations: 1.39 MB / 1.132 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009548/1.298, allocations: 387.3 kB / 1.132 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006966/1.298, allocations: 291.5 kB / 1.132 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/1.303, allocations: 1.807 MB / 1.134 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.303, allocations: 0 / 1.134 GB, free: 3.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/1.303, allocations: 10.47 kB / 1.134 GB, free: 3.008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.507e-05/1.303, allocations: 0 / 1.134 GB, free: 3.008 MB / 0.698 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.004383/1.307, allocations: 1.483 MB / 1.135 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.307, allocations: 11.34 kB / 1.135 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/1.311, allocations: 427 kB / 1.136 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/1.314, allocations: 0.9179 MB / 1.137 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/1.314, allocations: 65.59 kB / 1.137 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.314, allocations: 86.47 kB / 1.137 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/1.317, allocations: 0.8828 MB / 1.138 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/1.317, allocations: 0 / 1.138 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/1.317, allocations: 32.91 kB / 1.138 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/1.317, allocations: 28 kB / 1.138 GB, free: 17.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/1.32, allocations: 0.8248 MB / 1.139 GB, free: 17.67 MB / 0.7136 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.008631/1.328, allocations: 3.663 MB / 1.142 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/1.331, allocations: 1.092 MB / 1.143 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/1.332, allocations: 375.6 kB / 1.144 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.333, allocations: 419.7 kB / 1.144 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.333, allocations: 43.52 kB / 1.144 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.447e-06/1.333, allocations: 2.75 kB / 1.144 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.00339/1.336, allocations: 0.9763 MB / 1.145 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/1.336, allocations: 59.84 kB / 1.145 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.338, allocations: 0.8378 MB / 1.146 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.338, allocations: 43.27 kB / 1.146 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/1.339, allocations: 473.4 kB / 1.146 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/1.339, allocations: 215 kB / 1.147 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/1.339, allocations: 9.438 kB / 1.147 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.339, allocations: 328.9 kB / 1.147 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/1.34, allocations: 249.3 kB / 1.147 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008977/1.341, allocations: 375.7 kB / 1.147 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/1.342, allocations: 303.3 kB / 1.148 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.342, allocations: 0 / 1.148 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002246/1.344, allocations: 0.7354 MB / 1.148 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.344, allocations: 133.2 kB / 1.149 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.344, allocations: 0 / 1.149 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.344, allocations: 3 kB / 1.149 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.345, allocations: 136.3 kB / 1.149 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.345, allocations: 6.094 kB / 1.149 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.347, allocations: 123.3 kB / 1.149 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/1.347, allocations: 21.83 kB / 1.149 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.347, allocations: 9.281 kB / 1.149 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001913/1.349, allocations: 0.6183 MB / 1.149 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.349, allocations: 0 / 1.149 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/1.349, allocations: 6.156 kB / 1.149 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.35, allocations: 132.6 kB / 1.15 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.351, allocations: 11.28 kB / 1.15 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.352, allocations: 123.3 kB / 1.15 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/1.352, allocations: 20.81 kB / 1.15 GB, free: 12.33 MB / 0.7136 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.0008929/1.353, allocations: 388.4 kB / 1.15 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/1.354, allocations: 103.8 kB / 1.15 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/1.356, allocations: 0.7621 MB / 1.151 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.356, allocations: 9.125 kB / 1.151 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.356, allocations: 0 / 1.151 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001927/1.358, allocations: 0.922 MB / 1.152 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/1.364, allocations: 2.253 MB / 1.154 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.364, allocations: 5.344 kB / 1.154 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.365, allocations: 141.4 kB / 1.154 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/1.365, allocations: 5.125 kB / 1.154 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/1.366, allocations: 23.36 kB / 1.154 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/1.366, allocations: 11.94 kB / 1.154 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.366, allocations: 6.938 kB / 1.154 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/1.369, allocations: 1.27 MB / 1.156 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008776/1.37, allocations: 265.2 kB / 1.156 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/1.37, allocations: 23.61 kB / 1.156 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/1.372, allocations: 110.2 kB / 1.156 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/1.372, allocations: 49.98 kB / 1.156 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/1.372, allocations: 20.56 kB / 1.156 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001269/1.373, allocations: 0.584 MB / 1.157 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.373, allocations: 0 / 1.157 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002156/1.375, allocations: 0.5322 MB / 1.157 GB, free: 9.305 MB / 0.7136 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 (60): * Single equations (assignments): 60 * 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.0007476/1.376, allocations: 242.4 kB / 1.157 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002997/1.379, allocations: 0.9546 MB / 1.158 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.379, allocations: 2.875 kB / 1.158 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.38, allocations: 355.5 kB / 1.159 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005784/1.386, allocations: 0.6186 MB / 1.159 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/1.392, allocations: 2.627 MB / 1.162 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/1.393, allocations: 1.123 MB / 1.163 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002079/1.395, allocations: 303.5 kB / 1.163 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003905/1.396, allocations: 79.7 kB / 1.163 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.524e-06/1.396, allocations: 0 / 1.163 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.05558/1.451, allocations: 19.22 MB / 1.182 GB, free: 6.703 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)