Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5293/0.5293, allocations: 87.49 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 108.2 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001005, allocations: 60.05 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3695, allocations: 70.05 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6074/0.9769, allocations: 237.7 MB / 0.7896 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.9884, allocations: 7.295 MB / 0.7968 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.99, allocations: 47.59 kB / 0.7968 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.9916, allocations: 0.576 MB / 0.7974 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.9963, allocations: 1.949 MB / 0.7993 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/1.003, allocations: 1.859 MB / 0.8011 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005633/1.008, allocations: 4.448 MB / 0.8054 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/1.01, allocations: 0.9448 MB / 0.8063 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/1.014, allocations: 1.601 MB / 0.8079 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/1.016, allocations: 1 MB / 0.8089 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/1.016, allocations: 67.36 kB / 0.809 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/1.022, allocations: 2.84 MB / 0.8117 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005671/1.023, allocations: 406.6 kB / 0.8121 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.024, allocations: 0.662 MB / 0.8128 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/1.028, allocations: 2.768 MB / 0.8155 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.028, allocations: 0 / 0.8155 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.764e-06/1.028, allocations: 0 / 0.8155 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.995e-05/1.028, allocations: 3.094 kB / 0.8155 GB, free: 2.426 MB / 0.5261 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.00282/1.031, allocations: 1.711 MB / 0.8171 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.031, allocations: 8.031 kB / 0.8171 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/1.034, allocations: 427.5 kB / 0.8176 GB, free: 264 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.035, allocations: 0.9716 MB / 0.8185 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/1.036, allocations: 66 kB / 0.8186 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.036, allocations: 80 kB / 0.8186 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.037, allocations: 0.8624 MB / 0.8195 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/1.037, allocations: 0 / 0.8195 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.037, allocations: 42.53 kB / 0.8195 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/1.037, allocations: 29.94 kB / 0.8196 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/1.039, allocations: 0.8042 MB / 0.8203 GB, free: 13.4 MB / 0.5417 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.004321/1.043, allocations: 3.632 MB / 0.8239 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.044, allocations: 1.092 MB / 0.8249 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/1.045, allocations: 367.8 kB / 0.8253 GB, free: 8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.046, allocations: 406.9 kB / 0.8257 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/1.046, allocations: 39.12 kB / 0.8257 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 3.486e-06/1.046, allocations: 0 / 0.8257 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60): time 0.002003/1.048, allocations: 0.9614 MB / 0.8267 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/1.048, allocations: 63.91 kB / 0.8267 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/1.049, allocations: 0.8322 MB / 0.8275 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/1.049, allocations: 41.7 kB / 0.8276 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/1.049, allocations: 484.1 kB / 0.828 GB, free: 5.062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.049, allocations: 206.4 kB / 0.8282 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.05, allocations: 122.1 kB / 0.8284 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.05, allocations: 329 kB / 0.8287 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/1.05, allocations: 259 kB / 0.8289 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/1.051, allocations: 372.3 kB / 0.8293 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/1.052, allocations: 0.5947 MB / 0.8298 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.052, allocations: 0 / 0.8298 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001236/1.053, allocations: 0.7305 MB / 0.8306 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.053, allocations: 8.031 kB / 0.8306 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.053, allocations: 0 / 0.8306 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.053, allocations: 4 kB / 0.8306 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/1.054, allocations: 135.3 kB / 0.8307 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.054, allocations: 4 kB / 0.8307 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008698/1.054, allocations: 131.3 kB / 0.8308 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/1.055, allocations: 27.92 kB / 0.8309 GB, free: 2.125 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008572/1.055, allocations: 497 kB / 0.8313 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005766/1.056, allocations: 372 kB / 0.8317 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009887/1.057, allocations: 0.5758 MB / 0.8323 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/1.057, allocations: 0 / 0.8323 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0012/1.058, allocations: 0.7292 MB / 0.833 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.058, allocations: 13.8 kB / 0.833 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-06/1.058, allocations: 0 / 0.833 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/1.058, allocations: 4 kB / 0.833 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/1.059, allocations: 120.9 kB / 0.8331 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.059, allocations: 6.344 kB / 0.8331 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/1.06, allocations: 129.7 kB / 0.8332 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/1.06, allocations: 20 kB / 0.8332 GB, free: 15.64 MB / 0.5573 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.0001926/1.06, allocations: 218.6 kB / 0.8335 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.06, allocations: 106.8 kB / 0.8336 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/1.061, allocations: 0.7431 MB / 0.8343 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.061, allocations: 4 kB / 0.8343 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.061, allocations: 0 / 0.8343 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/1.063, allocations: 0.914 MB / 0.8352 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/1.066, allocations: 2.238 MB / 0.8374 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.066, allocations: 4 kB / 0.8374 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/1.066, allocations: 134.2 kB / 0.8375 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.066, allocations: 4 kB / 0.8375 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/1.067, allocations: 24 kB / 0.8375 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.067, allocations: 7.969 kB / 0.8375 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.067, allocations: 8 kB / 0.8375 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/1.087, allocations: 8.167 MB / 0.8455 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/1.087, allocations: 259.7 kB / 0.8458 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/1.087, allocations: 19.98 kB / 0.8458 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007673/1.088, allocations: 101 kB / 0.8459 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.088, allocations: 53.3 kB / 0.8459 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/1.088, allocations: 23.98 kB / 0.8459 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007922/1.089, allocations: 0.5862 MB / 0.8465 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.089, allocations: 4 kB / 0.8465 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003034/1.092, allocations: 0.9048 MB / 0.8474 GB, free: 0.7305 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.0005114/1.092, allocations: 247.8 kB / 0.8476 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.094, allocations: 0.9432 MB / 0.8486 GB, free: 15.57 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.094, allocations: 0 / 0.8486 GB, free: 15.57 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005914/1.095, allocations: 341.9 kB / 0.8489 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.098, allocations: 0.6342 MB / 0.8495 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/1.102, allocations: 2.941 MB / 0.8524 GB, free: 11.63 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.102, allocations: 1.144 MB / 0.8535 GB, free: 10.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001218/1.104, allocations: 324.1 kB / 0.8538 GB, free: 10.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/1.104, allocations: 83.42 kB / 0.8539 GB, free: 10.05 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.104, allocations: 0 / 0.8539 GB, free: 10.05 MB / 0.573 GB Notification: Performance of Templates: time 0.03651/1.14, allocations: 23.54 MB / 0.8769 GB, free: 2.84 MB / 0.5886 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)