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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 101 kB / 15.98 MB, free: 6.352 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.001567/0.001567, allocations: 194.7 kB / 16.91 MB, free: 6.195 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.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7845/0.7845, allocations: 122.9 MB / 413.6 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.03 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.411, allocations: 77.93 MB / 0.5667 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6193/1.03, allocations: 236.9 MB / 0.7981 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01243/1.043, allocations: 7.166 MB / 0.8051 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/1.046, allocations: 46.75 kB / 0.8051 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/1.048, allocations: 0.6103 MB / 0.8057 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005337/1.053, allocations: 1.948 MB / 0.8076 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0045/1.058, allocations: 1.88 MB / 0.8095 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004404/1.062, allocations: 3.27 MB / 0.8126 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/1.064, allocations: 1.107 MB / 0.8137 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/1.068, allocations: 1.78 MB / 0.8155 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/1.07, allocations: 1.023 MB / 0.8165 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/1.07, allocations: 120 kB / 0.8166 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/1.075, allocations: 2.582 MB / 0.8191 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005674/1.076, allocations: 471 kB / 0.8196 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009416/1.077, allocations: 0.7201 MB / 0.8203 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/1.081, allocations: 2.822 MB / 0.823 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.081, allocations: 0.7188 kB / 0.823 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/1.081, allocations: 0 / 0.823 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.812e-05/1.081, allocations: 0.9375 kB / 0.823 GB, free: 12.12 MB / 0.5762 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.002686/1.084, allocations: 1.711 MB / 0.8247 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.084, allocations: 14.31 kB / 0.8247 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/1.086, allocations: 422.6 kB / 0.8251 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.088, allocations: 0.9632 MB / 0.826 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/1.088, allocations: 64.44 kB / 0.8261 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/1.088, allocations: 87.34 kB / 0.8262 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.09, allocations: 0.863 MB / 0.827 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/1.09, allocations: 0.8438 kB / 0.827 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/1.09, allocations: 31.38 kB / 0.8271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/1.09, allocations: 33.62 kB / 0.8271 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.091, allocations: 0.8104 MB / 0.8279 GB, free: 10.2 MB / 0.5762 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.003937/1.095, allocations: 3.627 MB / 0.8314 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/1.096, allocations: 1.1 MB / 0.8325 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/1.097, allocations: 373.5 kB / 0.8329 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/1.097, allocations: 406.5 kB / 0.8332 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.097, allocations: 40.19 kB / 0.8333 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.414e-06/1.097, allocations: 4 kB / 0.8333 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001972/1.099, allocations: 0.9526 MB / 0.8342 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/1.1, allocations: 62.91 kB / 0.8343 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000882/1.1, allocations: 0.8339 MB / 0.8351 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/1.1, allocations: 40.89 kB / 0.8351 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/1.101, allocations: 479.8 kB / 0.8356 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.101, allocations: 216.8 kB / 0.8358 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.101, allocations: 110.5 kB / 0.8359 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.178e-05/1.101, allocations: 327.5 kB / 0.8362 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/1.102, allocations: 261.7 kB / 0.8365 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/1.102, allocations: 364.9 kB / 0.8368 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/1.103, allocations: 0.5977 MB / 0.8374 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.103, allocations: 4 kB / 0.8374 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001182/1.104, allocations: 0.7251 MB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.104, allocations: 5.469 kB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.104, allocations: 2.844 kB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.104, allocations: 2.719 kB / 0.8381 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/1.105, allocations: 132.8 kB / 0.8382 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.105, allocations: 4.5 kB / 0.8382 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.106, allocations: 129.4 kB / 0.8384 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/1.106, allocations: 27.05 kB / 0.8384 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000816/1.107, allocations: 499.5 kB / 0.8389 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005371/1.107, allocations: 364 kB / 0.8392 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008771/1.108, allocations: 0.5783 MB / 0.8398 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/1.108, allocations: 0 / 0.8398 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001098/1.109, allocations: 0.7253 MB / 0.8405 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.109, allocations: 6.531 kB / 0.8405 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/1.109, allocations: 4.125 kB / 0.8405 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/1.109, allocations: 4 kB / 0.8405 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/1.11, allocations: 125 kB / 0.8406 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.11, allocations: 8.109 kB / 0.8406 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/1.111, allocations: 123.5 kB / 0.8408 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/1.111, allocations: 24 kB / 0.8408 GB, free: 0.5703 MB / 0.5762 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.0002051/1.111, allocations: 209.3 kB / 0.841 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.111, allocations: 102.8 kB / 0.8411 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.113, allocations: 0.7455 MB / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.113, allocations: 8 kB / 0.8418 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.113, allocations: 0 / 0.8418 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/1.114, allocations: 0.902 MB / 0.8427 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/1.117, allocations: 2.257 MB / 0.8449 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.118, allocations: 8.031 kB / 0.8449 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/1.118, allocations: 133 kB / 0.845 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.417e-06/1.118, allocations: 4 kB / 0.845 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/1.118, allocations: 16 kB / 0.845 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/1.118, allocations: 10.62 kB / 0.8451 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.118, allocations: 4.703 kB / 0.8451 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/1.12, allocations: 1.222 MB / 0.8463 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/1.121, allocations: 263.7 kB / 0.8465 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.121, allocations: 24 kB / 0.8465 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/1.122, allocations: 91.75 kB / 0.8466 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.122, allocations: 50.75 kB / 0.8467 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/1.122, allocations: 28.31 kB / 0.8467 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007892/1.123, allocations: 0.5809 MB / 0.8473 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.123, allocations: 3.938 kB / 0.8473 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001392/1.124, allocations: 0.5377 MB / 0.8478 GB, free: 9.129 MB / 0.5919 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.0005508/1.125, allocations: 251.3 kB / 0.848 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.127, allocations: 1.006 MB / 0.849 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.127, allocations: 4 kB / 0.849 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005959/1.127, allocations: 341.3 kB / 0.8493 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.13, allocations: 0.6073 MB / 0.8499 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/1.134, allocations: 2.55 MB / 0.8524 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/1.135, allocations: 1.127 MB / 0.8535 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001193/1.136, allocations: 300.1 kB / 0.8538 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.136, allocations: 79.44 kB / 0.8539 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/1.136, allocations: 0 / 0.8539 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.03583/1.172, allocations: 20.16 MB / 0.8736 GB, free: 15.13 MB / 0.6231 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)