Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008707, allocations: 87.41 kB / 16.66 MB, free: 5.867 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.001087/0.001087, allocations: 175.6 kB / 17.57 MB, free: 5.543 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.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 14.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.5 MB / 408.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004016, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4475, allocations: 77.52 MB / 0.5606 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03536/0.483, allocations: 40.47 MB / 0.6001 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.498, allocations: 10.33 MB / 0.6102 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.5008, allocations: 52.28 kB / 0.6102 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.5031, allocations: 0.5211 MB / 0.6107 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.5097, allocations: 1.744 MB / 0.6124 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.5135, allocations: 1.084 MB / 0.6135 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006735/0.5203, allocations: 4.517 MB / 0.6179 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.522, allocations: 0.8594 MB / 0.6188 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.5247, allocations: 1.022 MB / 0.6198 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.5264, allocations: 0.8554 MB / 0.6206 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.5265, allocations: 39.94 kB / 0.6206 GB, free: 5.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.5288, allocations: 0.7638 MB / 0.6214 GB, free: 5.074 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.5291, allocations: 215 kB / 0.6216 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.53, allocations: 0.5729 MB / 0.6221 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.5321, allocations: 1.448 MB / 0.6236 GB, free: 2.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5321, allocations: 0 / 0.6236 GB, free: 2.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.5321, allocations: 0 / 0.6236 GB, free: 2.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.291e-05/0.5321, allocations: 0 / 0.6236 GB, free: 2.832 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002509/0.5346, allocations: 1.301 MB / 0.6248 GB, free: 1.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.5347, allocations: 11.97 kB / 0.6248 GB, free: 1.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.5351, allocations: 135.4 kB / 0.625 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.5368, allocations: 1.088 MB / 0.626 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.5369, allocations: 54 kB / 0.6261 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.537, allocations: 72 kB / 0.6261 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.5385, allocations: 0.7983 MB / 0.6269 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5385, allocations: 0 / 0.6269 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.5386, allocations: 31.98 kB / 0.627 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.5386, allocations: 20 kB / 0.627 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5398, allocations: 0.5984 MB / 0.6276 GB, free: 14.6 MB / 478.1 MB 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.004456/0.5443, allocations: 3.544 MB / 0.631 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.5449, allocations: 270.4 kB / 0.6313 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.5453, allocations: 189.3 kB / 0.6315 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.5458, allocations: 0.657 MB / 0.6321 GB, free: 9.562 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.5459, allocations: 46.56 kB / 0.6321 GB, free: 9.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 3.237e-06/0.5459, allocations: 0 / 0.6321 GB, free: 9.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001269/0.5472, allocations: 0.5392 MB / 0.6327 GB, free: 8.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.5472, allocations: 55.41 kB / 0.6327 GB, free: 8.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.5484, allocations: 0.9377 MB / 0.6336 GB, free: 7.938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.5485, allocations: 33.7 kB / 0.6337 GB, free: 7.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.5489, allocations: 0.4918 MB / 0.6342 GB, free: 7.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.549, allocations: 118.4 kB / 0.6343 GB, free: 7.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.5491, allocations: 45.7 kB / 0.6343 GB, free: 7.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5492, allocations: 329.9 kB / 0.6346 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.5496, allocations: 181 kB / 0.6348 GB, free: 6.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.5501, allocations: 362.8 kB / 0.6351 GB, free: 6.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.5511, allocations: 0.5344 MB / 0.6357 GB, free: 5.691 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5511, allocations: 0 / 0.6357 GB, free: 5.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001307/0.5524, allocations: 0.6328 MB / 0.6363 GB, free: 5.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5524, allocations: 8 kB / 0.6363 GB, free: 5.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5524, allocations: 4.438 kB / 0.6363 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5525, allocations: 15.94 kB / 0.6363 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.5529, allocations: 135.7 kB / 0.6364 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.553, allocations: 8 kB / 0.6364 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.5538, allocations: 115.2 kB / 0.6366 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5539, allocations: 31.94 kB / 0.6366 GB, free: 4.738 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004357/0.5543, allocations: 278.7 kB / 0.6369 GB, free: 4.457 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5545, allocations: 102.8 kB / 0.637 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.5555, allocations: 0.4948 MB / 0.6374 GB, free: 3.863 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.5556, allocations: 8 kB / 0.6374 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5556, allocations: 0 / 0.6374 GB, free: 3.855 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007684/0.5563, allocations: 469.5 kB / 0.6379 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.5586, allocations: 1.381 MB / 0.6392 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.5586, allocations: 4 kB / 0.6392 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.559, allocations: 83.83 kB / 0.6393 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.559, allocations: 7.984 kB / 0.6393 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.559, allocations: 16.14 kB / 0.6393 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.559, allocations: 0 / 0.6393 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.559, allocations: 4 kB / 0.6393 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.5604, allocations: 0.7931 MB / 0.6401 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.5608, allocations: 247.7 kB / 0.6404 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5609, allocations: 8 kB / 0.6404 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.5615, allocations: 63.86 kB / 0.6404 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.5615, allocations: 27.95 kB / 0.6405 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.5616, allocations: 19.98 kB / 0.6405 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008774/0.5625, allocations: 0.651 MB / 0.6411 GB, free: 15.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5625, allocations: 0 / 0.6411 GB, free: 15.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00099/0.5635, allocations: 327.5 kB / 0.6414 GB, free: 15.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007586/0.5642, allocations: 383.4 kB / 0.6418 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.5652, allocations: 440.8 kB / 0.6422 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5652, allocations: 8.062 kB / 0.6422 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.5656, allocations: 191.7 kB / 0.6424 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.5686, allocations: 0.6051 MB / 0.643 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.5714, allocations: 2.014 MB / 0.645 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.5721, allocations: 1.036 MB / 0.646 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5723, allocations: 91.34 kB / 0.6461 GB, free: 10.81 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5724, allocations: 0 / 0.6461 GB, free: 10.81 MB / 494.1 MB Notification: Performance of Templates: time 0.0285/0.6009, allocations: 17.68 MB / 0.6633 GB, free: 9.277 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)