Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.001239/0.001239, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001425/0.001425, allocations: 67.89 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 114.5 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.645/0.8786, allocations: 239.9 MB / 1.018 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.8905, allocations: 7.139 MB / 1.025 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.8923, allocations: 51.69 kB / 1.025 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.894, allocations: 0.5162 MB / 1.026 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.8976, allocations: 1.316 MB / 1.027 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004497/0.9021, allocations: 1.669 MB / 1.029 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002918/0.9051, allocations: 1.998 MB / 1.031 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.9065, allocations: 0.809 MB / 1.031 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.9098, allocations: 1.428 MB / 1.033 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.911, allocations: 0.6771 MB / 1.034 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.9113, allocations: 76 kB / 1.034 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.9148, allocations: 1.82 MB / 1.035 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.9153, allocations: 307 kB / 1.036 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008269/0.9161, allocations: 493.6 kB / 1.036 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003296/0.9194, allocations: 1.776 MB / 1.038 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9195, allocations: 0 / 1.038 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9195, allocations: 0 / 1.038 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.832e-05/0.9195, allocations: 0 / 1.038 GB, free: 6.539 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002679/0.9222, allocations: 1.307 MB / 1.039 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.9223, allocations: 15.97 kB / 1.039 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.9241, allocations: 282.5 kB / 1.039 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.9254, allocations: 0.6671 MB / 1.04 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.9255, allocations: 40.94 kB / 1.04 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.9256, allocations: 52 kB / 1.04 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.9268, allocations: 0.5998 MB / 1.041 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.9268, allocations: 0 / 1.041 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.9269, allocations: 28 kB / 1.041 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.9269, allocations: 8 kB / 1.041 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.9281, allocations: 0.609 MB / 1.041 GB, free: 2.84 MB / 0.8262 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.003872/0.9319, allocations: 2.636 MB / 1.044 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.933, allocations: 479.8 kB / 1.044 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.9335, allocations: 318.3 kB / 1.045 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.9342, allocations: 404.7 kB / 1.045 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.9343, allocations: 41.94 kB / 1.045 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006204/0.9349, allocations: 111.5 kB / 1.045 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 3.737e-06/0.9349, allocations: 0 / 1.045 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.002807/0.9377, allocations: 1.107 MB / 1.046 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.9378, allocations: 59.41 kB / 1.046 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.9387, allocations: 0.6452 MB / 1.047 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.9387, allocations: 37.7 kB / 1.047 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.939, allocations: 345 kB / 1.047 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.9392, allocations: 161.7 kB / 1.048 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.9393, allocations: 98 kB / 1.048 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9395, allocations: 322 kB / 1.048 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.9399, allocations: 234.5 kB / 1.048 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.9405, allocations: 324.3 kB / 1.048 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.9415, allocations: 0.5247 MB / 1.049 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9415, allocations: 0 / 1.049 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001583/0.9431, allocations: 0.7341 MB / 1.05 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.9431, allocations: 5.719 kB / 1.05 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.9431, allocations: 3.984 kB / 1.05 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.9436, allocations: 93.55 kB / 1.05 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.9441, allocations: 91.86 kB / 1.05 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/0.9446, allocations: 0.6199 MB / 1.05 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.9453, allocations: 36.05 kB / 1.051 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.9454, allocations: 24.86 kB / 1.051 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006929/0.9461, allocations: 400.8 kB / 1.051 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000524/0.9467, allocations: 316.4 kB / 1.051 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009257/0.9476, allocations: 0.5136 MB / 1.052 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.9476, allocations: 4 kB / 1.052 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001393/0.949, allocations: 0.6832 MB / 1.052 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.949, allocations: 8 kB / 1.052 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.949, allocations: 4.062 kB / 1.052 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.9493, allocations: 62.61 kB / 1.052 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.9497, allocations: 91.86 kB / 1.053 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.9516, allocations: 1.863 MB / 1.054 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000677/0.9523, allocations: 43.98 kB / 1.054 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.9523, allocations: 21.08 kB / 1.054 GB, free: 4.824 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002203/0.9526, allocations: 209.2 kB / 1.055 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9528, allocations: 75.06 kB / 1.055 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.9544, allocations: 0.7729 MB / 1.055 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9544, allocations: 4 kB / 1.055 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9544, allocations: 0 / 1.055 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.9544, allocations: 3.984 kB / 1.055 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.9574, allocations: 1.688 MB / 1.057 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.9574, allocations: 4.406 kB / 1.057 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.9579, allocations: 91.83 kB / 1.057 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.9581, allocations: 70.7 kB / 1.057 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/0.9582, allocations: 8 kB / 1.057 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005046/0.9587, allocations: 0.6225 MB / 1.058 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.9587, allocations: 4 kB / 1.058 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.9607, allocations: 1.181 MB / 1.059 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.9611, allocations: 208.1 kB / 1.059 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.9612, allocations: 16 kB / 1.059 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.9618, allocations: 31.95 kB / 1.059 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.962, allocations: 51.83 kB / 1.059 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.962, allocations: 16 kB / 1.059 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006768/0.9627, allocations: 463 kB / 1.06 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9627, allocations: 0 / 1.06 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001164/0.9639, allocations: 375.3 kB / 1.06 GB, free: 14.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005244/0.9644, allocations: 230.2 kB / 1.06 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.9666, allocations: 1.016 MB / 1.061 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9666, allocations: 4 kB / 1.061 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.9673, allocations: 324.1 kB / 1.062 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.9694, allocations: 433.8 kB / 1.062 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/0.9753, allocations: 1.862 MB / 1.064 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.976, allocations: 0.9619 MB / 1.065 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.9763, allocations: 75.34 kB / 1.065 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of SimCode: time 9.42e-07/0.9764, allocations: 0 / 1.065 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.02266/0.999, allocations: 15.6 MB / 1.08 GB, free: 10.43 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)