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.001242/0.001242, allocations: 114.9 kB / 16.38 MB, free: 6.004 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.001237/0.001237, allocations: 186.4 kB / 17.31 MB, free: 5.621 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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.896/1.896, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001685/0.001685, allocations: 79.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.239, allocations: 114.5 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6309/0.8699, allocations: 239.9 MB / 1.019 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0112/0.8812, allocations: 7.132 MB / 1.026 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.8827, allocations: 51.69 kB / 1.026 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.8845, allocations: 0.7027 MB / 1.027 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/0.8895, allocations: 2.062 MB / 1.029 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.8942, allocations: 2.029 MB / 1.031 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004273/0.8984, allocations: 3.252 MB / 1.034 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.9002, allocations: 1.126 MB / 1.035 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.9043, allocations: 1.782 MB / 1.037 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.9064, allocations: 0.9704 MB / 1.038 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003551/0.9068, allocations: 124 kB / 1.038 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/0.9118, allocations: 2.486 MB / 1.04 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.9126, allocations: 458.7 kB / 1.041 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.9141, allocations: 0.7194 MB / 1.041 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005371/0.9195, allocations: 2.688 MB / 1.044 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.9195, allocations: 0 / 1.044 GB, free: 496 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9195, allocations: 0 / 1.044 GB, free: 496 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.9195, allocations: 4 kB / 1.044 GB, free: 492 kB / 0.8262 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.002839/0.9224, allocations: 1.704 MB / 1.046 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9224, allocations: 8.031 kB / 1.046 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.9251, allocations: 420.5 kB / 1.046 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.9267, allocations: 1.015 MB / 1.047 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.9268, allocations: 66 kB / 1.047 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.9269, allocations: 80 kB / 1.047 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.9285, allocations: 0.8624 MB / 1.048 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.9285, allocations: 0 / 1.048 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.9286, allocations: 31.94 kB / 1.048 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.9287, allocations: 30 kB / 1.048 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.9301, allocations: 0.812 MB / 1.049 GB, free: 11.36 MB / 0.8419 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.004506/0.9346, allocations: 3.635 MB / 1.052 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.9361, allocations: 1.089 MB / 1.054 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.9368, allocations: 372.7 kB / 1.054 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007777/0.9375, allocations: 408.9 kB / 1.054 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.9376, allocations: 39.12 kB / 1.054 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 3.627e-06/0.9376, allocations: 0 / 1.054 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.002281/0.9399, allocations: 0.9584 MB / 1.055 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9399, allocations: 55.97 kB / 1.055 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.9411, allocations: 0.8356 MB / 1.056 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.628e-05/0.9412, allocations: 37.7 kB / 1.056 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.9416, allocations: 484.1 kB / 1.057 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.9418, allocations: 212.8 kB / 1.057 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.942, allocations: 114.2 kB / 1.057 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9421, allocations: 322 kB / 1.057 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.9426, allocations: 259 kB / 1.057 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.9431, allocations: 364.3 kB / 1.058 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.9442, allocations: 0.6046 MB / 1.058 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9442, allocations: 4 kB / 1.058 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001288/0.9455, allocations: 0.7282 MB / 1.059 GB, free: 284 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.9455, allocations: 4 kB / 1.059 GB, free: 280 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.9455, allocations: 4 kB / 1.059 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9456, allocations: 0 / 1.059 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.9461, allocations: 131.9 kB / 1.059 GB, free: 144 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9461, allocations: 7.984 kB / 1.059 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.9469, allocations: 69.95 kB / 1.059 GB, free: 68 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.9469, allocations: 27.92 kB / 1.059 GB, free: 40 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00081/0.9477, allocations: 497 kB / 1.06 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005346/0.9483, allocations: 368.2 kB / 1.06 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009764/0.9493, allocations: 0.5774 MB / 1.061 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.9493, allocations: 0 / 1.061 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001267/0.9506, allocations: 0.7204 MB / 1.061 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9506, allocations: 13.34 kB / 1.061 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.9506, allocations: 0 / 1.061 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.9506, allocations: 4 kB / 1.061 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.9512, allocations: 123.9 kB / 1.062 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.9512, allocations: 7.938 kB / 1.062 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/0.9521, allocations: 73.77 kB / 1.062 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.9522, allocations: 20 kB / 1.062 GB, free: 13.6 MB / 0.8575 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.0002677/0.9525, allocations: 204.2 kB / 1.062 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.9527, allocations: 106.7 kB / 1.062 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.9542, allocations: 0.7462 MB / 1.063 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.9553, allocations: 0.8995 MB / 1.064 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9554, allocations: 0 / 1.064 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.9558, allocations: 259.6 kB / 1.064 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.9559, allocations: 12 kB / 1.064 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/0.9565, allocations: 39.95 kB / 1.064 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.9566, allocations: 40.52 kB / 1.064 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.9583, allocations: 0.7914 MB / 1.065 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001883/0.9602, allocations: 1.259 MB / 1.066 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000495/0.9607, allocations: 320.4 kB / 1.066 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007523/0.9615, allocations: 0.5782 MB / 1.067 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of Backend: time 4.2e-07/0.9615, allocations: 0 / 1.067 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003167/0.9646, allocations: 1.27 MB / 1.068 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of SimCode: time 0.004442/0.9691, allocations: 2.802 MB / 1.071 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.04537/1.014, allocations: 27.5 MB / 1.098 GB, free: 9.043 MB / 0.8887 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)