Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 148 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.00184/0.00184, allocations: 196 kB / 16.53 MB, free: 6.656 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.58 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3116, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.836/1.148, allocations: 239.9 MB / 1.302 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01175/1.159, allocations: 7.21 MB / 1.309 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.162, allocations: 50 kB / 1.31 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/1.163, allocations: 0.5132 MB / 1.31 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003745/1.167, allocations: 1.311 MB / 1.311 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/1.172, allocations: 1.679 MB / 1.313 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002873/1.175, allocations: 2.004 MB / 1.315 GB, free: 17.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/1.176, allocations: 0.8131 MB / 1.316 GB, free: 16.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/1.179, allocations: 1.434 MB / 1.317 GB, free: 16.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.181, allocations: 0.6788 MB / 1.318 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003271/1.181, allocations: 81.59 kB / 1.318 GB, free: 16.78 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/1.185, allocations: 1.813 MB / 1.32 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/1.185, allocations: 302.3 kB / 1.32 GB, free: 16.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009952/1.186, allocations: 496.2 kB / 1.32 GB, free: 16.6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/1.19, allocations: 1.771 MB / 1.322 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/1.19, allocations: 0.75 kB / 1.322 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.19, allocations: 1.062 kB / 1.322 GB, free: 16.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.269e-05/1.19, allocations: 0.7812 kB / 1.322 GB, free: 16.39 MB / 0.9981 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.003058/1.193, allocations: 1.304 MB / 1.323 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.193, allocations: 9.406 kB / 1.323 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/1.195, allocations: 284 kB / 1.324 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/1.196, allocations: 0.6662 MB / 1.324 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/1.197, allocations: 40.81 kB / 1.324 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.197, allocations: 50.06 kB / 1.324 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.198, allocations: 0.6074 MB / 1.325 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/1.198, allocations: 4.781 kB / 1.325 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/1.198, allocations: 17.56 kB / 1.325 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/1.198, allocations: 13.81 kB / 1.325 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/1.199, allocations: 0.612 MB / 1.326 GB, free: 15.23 MB / 0.9981 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.003644/1.203, allocations: 2.624 MB / 1.328 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/1.204, allocations: 476.9 kB / 1.329 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/1.204, allocations: 314.3 kB / 1.329 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006231/1.205, allocations: 404.9 kB / 1.329 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.205, allocations: 45.28 kB / 1.329 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006872/1.206, allocations: 109.1 kB / 1.329 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 4.569e-06/1.206, allocations: 4.094 kB / 1.329 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002791/1.209, allocations: 1.109 MB / 1.331 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/1.209, allocations: 54.25 kB / 1.331 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/1.209, allocations: 0.6561 MB / 1.331 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/1.209, allocations: 37.42 kB / 1.331 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/1.21, allocations: 345.9 kB / 1.332 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.21, allocations: 157.6 kB / 1.332 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.21, allocations: 101.3 kB / 1.332 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/1.21, allocations: 319.8 kB / 1.332 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/1.21, allocations: 238.1 kB / 1.332 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/1.211, allocations: 324.3 kB / 1.333 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/1.212, allocations: 0.5209 MB / 1.333 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.212, allocations: 0 / 1.333 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001512/1.213, allocations: 0.7357 MB / 1.334 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.213, allocations: 5.375 kB / 1.334 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.213, allocations: 1 kB / 1.334 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/1.214, allocations: 99.98 kB / 1.334 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/1.214, allocations: 92.09 kB / 1.334 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003914/1.215, allocations: 0.6206 MB / 1.335 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007666/1.216, allocations: 35.47 kB / 1.335 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/1.216, allocations: 23.66 kB / 1.335 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006671/1.216, allocations: 397.7 kB / 1.335 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004811/1.217, allocations: 318 kB / 1.335 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009176/1.218, allocations: 0.5112 MB / 1.336 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/1.218, allocations: 0 / 1.336 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001296/1.219, allocations: 0.691 MB / 1.337 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/1.219, allocations: 2.75 kB / 1.337 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/1.219, allocations: 2.125 kB / 1.337 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/1.219, allocations: 66.11 kB / 1.337 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/1.22, allocations: 90.33 kB / 1.337 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/1.221, allocations: 1.872 MB / 1.339 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/1.222, allocations: 31.78 kB / 1.339 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/1.222, allocations: 27.09 kB / 1.339 GB, free: 9.961 MB / 0.9981 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.0001932/1.222, allocations: 209.4 kB / 1.339 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/1.222, allocations: 79.47 kB / 1.339 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.224, allocations: 0.7734 MB / 1.34 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.224, allocations: 5.812 kB / 1.34 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/1.224, allocations: 0 / 1.34 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.224, allocations: 7 kB / 1.34 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/1.226, allocations: 1.682 MB / 1.341 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.226, allocations: 2.469 kB / 1.341 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/1.227, allocations: 82.94 kB / 1.341 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001617/1.227, allocations: 67.81 kB / 1.341 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/1.227, allocations: 16.44 kB / 1.342 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002843/1.227, allocations: 0.6177 MB / 1.342 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.227, allocations: 6.469 kB / 1.342 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/1.229, allocations: 1.188 MB / 1.343 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003198/1.229, allocations: 207.9 kB / 1.343 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.23, allocations: 9.375 kB / 1.343 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005922/1.23, allocations: 42.16 kB / 1.344 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.23, allocations: 42.52 kB / 1.344 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/1.23, allocations: 13.34 kB / 1.344 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005417/1.231, allocations: 472.6 kB / 1.344 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.231, allocations: 4 kB / 1.344 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001114/1.232, allocations: 371.1 kB / 1.344 GB, free: 6.871 MB / 0.9981 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.000456/1.232, allocations: 229.7 kB / 1.345 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001886/1.234, allocations: 1.023 MB / 1.346 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.234, allocations: 3.375 kB / 1.346 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/1.235, allocations: 315.8 kB / 1.346 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.237, allocations: 441.4 kB / 1.346 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/1.242, allocations: 1.823 MB / 1.348 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.243, allocations: 0.9689 MB / 1.349 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001038/1.244, allocations: 224.5 kB / 1.349 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.244, allocations: 69.02 kB / 1.349 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.244, allocations: 0 / 1.349 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.02549/1.27, allocations: 16.62 MB / 1.366 GB, free: 14.82 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)