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.00118/0.00118, allocations: 105.2 kB / 16.52 MB, free: 6.27 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.00118/0.00118, allocations: 197.4 kB / 17.44 MB, free: 5.887 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6908/0.6908, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 493.6 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3727, allocations: 76.17 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03551/0.4083, allocations: 41.32 MB / 0.5967 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4229, allocations: 10.45 MB / 0.6069 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.4256, allocations: 52.03 kB / 0.607 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.428, allocations: 0.5216 MB / 0.6075 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.4348, allocations: 1.754 MB / 0.6092 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003516/0.4384, allocations: 1.075 MB / 0.6103 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00599/0.4444, allocations: 4.513 MB / 0.6147 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.4459, allocations: 0.8902 MB / 0.6155 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4484, allocations: 1.042 MB / 0.6165 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.45, allocations: 0.8943 MB / 0.6174 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.4502, allocations: 48 kB / 0.6175 GB, free: 6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.4524, allocations: 0.7755 MB / 0.6182 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.4527, allocations: 234.9 kB / 0.6184 GB, free: 4.992 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000768/0.4535, allocations: 0.5751 MB / 0.619 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.4553, allocations: 1.481 MB / 0.6205 GB, free: 2.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4553, allocations: 0 / 0.6205 GB, free: 2.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4553, allocations: 0 / 0.6205 GB, free: 2.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.4553, allocations: 0 / 0.6205 GB, free: 2.93 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.002456/0.4578, allocations: 1.511 MB / 0.6219 GB, free: 1.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4578, allocations: 11.97 kB / 0.6219 GB, free: 1.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.4582, allocations: 135.4 kB / 0.6221 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4597, allocations: 1.071 MB / 0.6231 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.4598, allocations: 58 kB / 0.6232 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.4599, allocations: 75.95 kB / 0.6232 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.4612, allocations: 0.7943 MB / 0.624 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.4613, allocations: 0 / 0.624 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.4613, allocations: 28 kB / 0.624 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.4614, allocations: 23.94 kB / 0.6241 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4625, allocations: 0.5711 MB / 0.6246 GB, free: 14.52 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.004005/0.4665, allocations: 3.54 MB / 0.6281 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.4671, allocations: 256.9 kB / 0.6283 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.4674, allocations: 180.8 kB / 0.6285 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005377/0.468, allocations: 0.6609 MB / 0.6291 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.468, allocations: 38.56 kB / 0.6292 GB, free: 9.465 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/0.468, allocations: 0 / 0.6292 GB, free: 9.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001246/0.4693, allocations: 0.5163 MB / 0.6297 GB, free: 8.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4693, allocations: 55.41 kB / 0.6297 GB, free: 8.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4705, allocations: 0.9299 MB / 0.6307 GB, free: 7.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.4705, allocations: 33.7 kB / 0.6307 GB, free: 7.887 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.4709, allocations: 0.4917 MB / 0.6312 GB, free: 7.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4711, allocations: 110.5 kB / 0.6313 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4712, allocations: 126 kB / 0.6314 GB, free: 7.148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4713, allocations: 329.9 kB / 0.6317 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.4717, allocations: 161 kB / 0.6319 GB, free: 6.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.4722, allocations: 358.9 kB / 0.6322 GB, free: 6.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.473, allocations: 0.5071 MB / 0.6327 GB, free: 5.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.473, allocations: 8 kB / 0.6327 GB, free: 5.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001098/0.4741, allocations: 0.6133 MB / 0.6333 GB, free: 5.031 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4741, allocations: 8 kB / 0.6333 GB, free: 5.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4742, allocations: 4 kB / 0.6333 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4742, allocations: 8 kB / 0.6333 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.4746, allocations: 128.2 kB / 0.6334 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4747, allocations: 12 kB / 0.6335 GB, free: 4.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.4754, allocations: 111.2 kB / 0.6336 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.4754, allocations: 31.98 kB / 0.6336 GB, free: 4.734 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.0003764/0.4758, allocations: 278.6 kB / 0.6339 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.476, allocations: 98.78 kB / 0.6339 GB, free: 4.355 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009763/0.477, allocations: 487.7 kB / 0.6344 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.477, allocations: 8 kB / 0.6344 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.477, allocations: 0 / 0.6344 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007045/0.4777, allocations: 453.5 kB / 0.6349 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.4798, allocations: 1.35 MB / 0.6362 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4799, allocations: 160 / 0.6362 GB, free: 1.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.4802, allocations: 83.88 kB / 0.6363 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.4802, allocations: 7.938 kB / 0.6363 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.4802, allocations: 8 kB / 0.6363 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/0.4803, allocations: 4 kB / 0.6363 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4803, allocations: 0 / 0.6363 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4815, allocations: 0.7658 MB / 0.637 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.4818, allocations: 231.8 kB / 0.6372 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.482, allocations: 11.98 kB / 0.6373 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.4825, allocations: 47.89 kB / 0.6373 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.4826, allocations: 31.89 kB / 0.6373 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4826, allocations: 23.98 kB / 0.6374 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007969/0.4834, allocations: 0.6471 MB / 0.638 GB, free: 68 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.222e-06/0.4834, allocations: 0 / 0.638 GB, free: 68 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009771/0.4844, allocations: 335.4 kB / 0.6383 GB, free: 15.74 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.0007519/0.4852, allocations: 381.6 kB / 0.6387 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008688/0.4861, allocations: 423.5 kB / 0.6391 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4861, allocations: 1.375 kB / 0.6391 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.4865, allocations: 192 kB / 0.6393 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.4892, allocations: 0.5879 MB / 0.6398 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4918, allocations: 1.971 MB / 0.6418 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.4924, allocations: 1.032 MB / 0.6428 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.4926, allocations: 83.42 kB / 0.6428 GB, free: 11.02 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4926, allocations: 0 / 0.6428 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Templates: time 0.02495/0.5176, allocations: 17.83 MB / 0.6603 GB, free: 9.355 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)