Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001203, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.014/2.014, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 70.69 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3114, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9063/1.218, allocations: 239.9 MB / 1.018 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01374/1.232, allocations: 7.146 MB / 1.025 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/1.235, allocations: 50.22 kB / 1.025 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002552/1.237, allocations: 0.707 MB / 1.025 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007674/1.245, allocations: 2.064 MB / 1.027 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006987/1.252, allocations: 2.003 MB / 1.029 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006421/1.258, allocations: 3.242 MB / 1.032 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/1.261, allocations: 1.136 MB / 1.034 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006202/1.267, allocations: 1.78 MB / 1.035 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/1.271, allocations: 0.9663 MB / 1.036 GB, free: 172 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006175/1.271, allocations: 124.1 kB / 1.036 GB, free: 168 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007801/1.279, allocations: 2.487 MB / 1.039 GB, free: 14.78 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.28, allocations: 464.2 kB / 1.039 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002646/1.283, allocations: 0.7189 MB / 1.04 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007701/1.291, allocations: 2.654 MB / 1.043 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.291, allocations: 0 / 1.043 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.404e-06/1.291, allocations: 4 kB / 1.043 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.64e-05/1.291, allocations: 0 / 1.043 GB, free: 12.3 MB / 0.7637 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.004406/1.295, allocations: 1.708 MB / 1.044 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.295, allocations: 7.781 kB / 1.044 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/1.298, allocations: 422.8 kB / 1.045 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/1.3, allocations: 0.9573 MB / 1.046 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/1.3, allocations: 62.66 kB / 1.046 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/1.3, allocations: 87.66 kB / 1.046 GB, free: 10 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/1.302, allocations: 0.8592 MB / 1.047 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/1.302, allocations: 3.984 kB / 1.047 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/1.302, allocations: 34.84 kB / 1.047 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/1.302, allocations: 31.67 kB / 1.047 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.303, allocations: 0.8034 MB / 1.047 GB, free: 9.074 MB / 0.7637 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.005036/1.308, allocations: 3.666 MB / 1.051 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.31, allocations: 1.094 MB / 1.052 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/1.311, allocations: 376.7 kB / 1.052 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008095/1.312, allocations: 412.9 kB / 1.053 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/1.312, allocations: 39.12 kB / 1.053 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/1.312, allocations: 0 / 1.053 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002372/1.314, allocations: 0.9546 MB / 1.054 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/1.314, allocations: 59.91 kB / 1.054 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.315, allocations: 0.8317 MB / 1.055 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/1.315, allocations: 41.7 kB / 1.055 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.316, allocations: 484.1 kB / 1.055 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/1.316, allocations: 208.9 kB / 1.055 GB, free: 404 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.316, allocations: 114.2 kB / 1.055 GB, free: 284 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.317, allocations: 330 kB / 1.056 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/1.317, allocations: 251 kB / 1.056 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/1.318, allocations: 372.3 kB / 1.056 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.319, allocations: 0.5912 MB / 1.057 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.319, allocations: 0 / 1.057 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001571/1.32, allocations: 0.7319 MB / 1.058 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.32, allocations: 11.09 kB / 1.058 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.32, allocations: 0 / 1.058 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.32, allocations: 4 kB / 1.058 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.321, allocations: 135.7 kB / 1.058 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/1.321, allocations: 5.562 kB / 1.058 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/1.322, allocations: 71.48 kB / 1.058 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/1.322, allocations: 20 kB / 1.058 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000934/1.323, allocations: 497.7 kB / 1.058 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006729/1.324, allocations: 368.3 kB / 1.059 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/1.325, allocations: 0.5812 MB / 1.059 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/1.325, allocations: 4 kB / 1.059 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001549/1.326, allocations: 0.7203 MB / 1.06 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/1.326, allocations: 8 kB / 1.06 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.326, allocations: 3.938 kB / 1.06 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/1.326, allocations: 4 kB / 1.06 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/1.327, allocations: 127.9 kB / 1.06 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.327, allocations: 4 kB / 1.06 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/1.328, allocations: 66.53 kB / 1.06 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.328, allocations: 20 kB / 1.06 GB, free: 11.28 MB / 0.7794 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.0003236/1.328, allocations: 212.1 kB / 1.06 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.329, allocations: 108.2 kB / 1.061 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.33, allocations: 0.7483 MB / 1.061 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.33, allocations: 8 kB / 1.061 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.33, allocations: 0 / 1.061 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/1.331, allocations: 0.8995 MB / 1.062 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/1.335, allocations: 2.247 MB / 1.064 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.335, allocations: 4 kB / 1.064 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/1.336, allocations: 135.8 kB / 1.064 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.336, allocations: 4 kB / 1.064 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/1.336, allocations: 20.86 kB / 1.064 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.336, allocations: 11.94 kB / 1.064 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.336, allocations: 4 kB / 1.064 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.338, allocations: 1.261 MB / 1.066 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/1.339, allocations: 255.7 kB / 1.066 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/1.339, allocations: 19.98 kB / 1.066 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/1.339, allocations: 41.02 kB / 1.066 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.34, allocations: 52.27 kB / 1.066 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/1.34, allocations: 23.98 kB / 1.066 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000832/1.34, allocations: 0.5782 MB / 1.067 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/1.34, allocations: 0 / 1.067 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001622/1.342, allocations: 0.5338 MB / 1.067 GB, free: 3.805 MB / 0.7794 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 (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.0007317/1.343, allocations: 243.9 kB / 1.067 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002178/1.345, allocations: 1.009 MB / 1.068 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.345, allocations: 0 / 1.068 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.346, allocations: 338.2 kB / 1.069 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.348, allocations: 0.6068 MB / 1.069 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/1.352, allocations: 2.135 MB / 1.071 GB, free: 15.42 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.353, allocations: 1.127 MB / 1.072 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001367/1.354, allocations: 299.9 kB / 1.073 GB, free: 13.97 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.355, allocations: 79.42 kB / 1.073 GB, free: 13.89 MB / 0.795 GB Notification: Performance of SimCode: time 1.873e-06/1.355, allocations: 0 / 1.073 GB, free: 13.89 MB / 0.795 GB Notification: Performance of Templates: time 0.03751/1.392, allocations: 20.39 MB / 1.093 GB, free: 9.805 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)