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.001292/0.001292, allocations: 98.08 kB / 16.26 MB, free: 6.414 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.00134/0.00134, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7843/0.7843, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 55.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4877, allocations: 77.91 MB / 0.5672 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6238/1.111, allocations: 239.9 MB / 0.8014 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01036/1.122, allocations: 7.212 MB / 0.8085 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/1.124, allocations: 55 kB / 0.8085 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/1.126, allocations: 0.696 MB / 0.8092 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006008/1.132, allocations: 2.068 MB / 0.8112 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/1.138, allocations: 2.016 MB / 0.8132 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005233/1.143, allocations: 3.268 MB / 0.8164 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.145, allocations: 1.138 MB / 0.8175 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/1.149, allocations: 1.781 MB / 0.8192 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/1.151, allocations: 0.9705 MB / 0.8202 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.151, allocations: 120.8 kB / 0.8203 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005114/1.156, allocations: 2.484 MB / 0.8227 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/1.156, allocations: 456.8 kB / 0.8231 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007981/1.157, allocations: 0.722 MB / 0.8238 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004549/1.162, allocations: 2.661 MB / 0.8264 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.162, allocations: 0 / 0.8264 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/1.162, allocations: 0 / 0.8264 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.162, allocations: 0.7812 kB / 0.8264 GB, free: 11.93 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.002528/1.164, allocations: 1.71 MB / 0.8281 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.164, allocations: 9.938 kB / 0.8281 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/1.167, allocations: 422.7 kB / 0.8285 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/1.168, allocations: 0.9618 MB / 0.8295 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/1.168, allocations: 61.66 kB / 0.8295 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/1.169, allocations: 88.62 kB / 0.8296 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/1.17, allocations: 0.8703 MB / 0.8305 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/1.17, allocations: 3.938 kB / 0.8305 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/1.17, allocations: 30 kB / 0.8305 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/1.17, allocations: 30.31 kB / 0.8305 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/1.171, allocations: 0.8118 MB / 0.8313 GB, free: 8.918 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.004043/1.175, allocations: 3.667 MB / 0.8349 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.177, allocations: 1.098 MB / 0.836 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/1.177, allocations: 374 kB / 0.8363 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/1.178, allocations: 406.1 kB / 0.8367 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.178, allocations: 48.91 kB / 0.8368 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.835e-06/1.178, allocations: 0 / 0.8368 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.001992/1.18, allocations: 0.9516 MB / 0.8377 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/1.18, allocations: 69.94 kB / 0.8378 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/1.181, allocations: 0.8334 MB / 0.8386 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/1.181, allocations: 43.17 kB / 0.8386 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/1.181, allocations: 475.7 kB / 0.8391 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.181, allocations: 216.7 kB / 0.8393 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/1.182, allocations: 110.5 kB / 0.8394 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/1.182, allocations: 327.8 kB / 0.8397 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/1.182, allocations: 258.3 kB / 0.8399 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/1.183, allocations: 370 kB / 0.8403 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/1.184, allocations: 0.5856 MB / 0.8409 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.184, allocations: 2.812 kB / 0.8409 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001225/1.185, allocations: 0.7366 MB / 0.8416 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.185, allocations: 7.938 kB / 0.8416 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.185, allocations: 0 / 0.8416 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.185, allocations: 4 kB / 0.8416 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/1.185, allocations: 131.8 kB / 0.8417 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/1.185, allocations: 7.938 kB / 0.8417 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/1.186, allocations: 67.39 kB / 0.8418 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/1.186, allocations: 24 kB / 0.8418 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006937/1.187, allocations: 0.4899 MB / 0.8423 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004427/1.187, allocations: 362 kB / 0.8426 GB, free: 120 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001009/1.189, allocations: 0.5803 MB / 0.8432 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/1.189, allocations: 0 / 0.8432 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001313/1.19, allocations: 0.7177 MB / 0.8439 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.19, allocations: 8 kB / 0.8439 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/1.19, allocations: 0 / 0.8439 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/1.19, allocations: 4 kB / 0.8439 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/1.19, allocations: 123.5 kB / 0.844 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/1.19, allocations: 7.984 kB / 0.844 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/1.191, allocations: 75.62 kB / 0.8441 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/1.191, allocations: 23.98 kB / 0.8441 GB, free: 14.58 MB / 0.5919 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.0002156/1.192, allocations: 215.8 kB / 0.8443 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/1.192, allocations: 102.8 kB / 0.8444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.193, allocations: 0.7395 MB / 0.8452 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.193, allocations: 7.984 kB / 0.8452 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.193, allocations: 3.938 kB / 0.8452 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.194, allocations: 0.9019 MB / 0.8461 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/1.198, allocations: 2.247 MB / 0.8482 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.198, allocations: 4.406 kB / 0.8482 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/1.199, allocations: 143.5 kB / 0.8484 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.199, allocations: 11.94 kB / 0.8484 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/1.199, allocations: 19.98 kB / 0.8484 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.199, allocations: 6.531 kB / 0.8484 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.199, allocations: 7.938 kB / 0.8484 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/1.201, allocations: 1.23 MB / 0.8496 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/1.202, allocations: 255.9 kB / 0.8499 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.202, allocations: 23.98 kB / 0.8499 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/1.203, allocations: 43.95 kB / 0.8499 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.203, allocations: 46.95 kB / 0.85 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/1.203, allocations: 23.98 kB / 0.85 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009736/1.204, allocations: 0.5862 MB / 0.8506 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/1.204, allocations: 0 / 0.8506 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001687/1.206, allocations: 0.5338 MB / 0.8511 GB, free: 7.184 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.0006009/1.206, allocations: 241.7 kB / 0.8513 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.208, allocations: 1.006 MB / 0.8523 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.208, allocations: 0.5 kB / 0.8523 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/1.209, allocations: 340.3 kB / 0.8526 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.212, allocations: 0.6136 MB / 0.8532 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/1.216, allocations: 2.165 MB / 0.8554 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/1.216, allocations: 1.116 MB / 0.8564 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001225/1.218, allocations: 304.1 kB / 0.8567 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.218, allocations: 83.42 kB / 0.8568 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/1.218, allocations: 0 / 0.8568 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.03398/1.252, allocations: 20.36 MB / 0.8767 GB, free: 13.38 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)