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.001642/0.001642, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001389/0.001389, allocations: 189.3 kB / 17.56 MB, free: 5.797 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.432/1.432, allocations: 222.9 MB / 241.3 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.8368/0.8368, allocations: 125.3 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.89 kB / 0.4943 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4026, allocations: 78.57 MB / 0.571 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03289/0.4356, allocations: 41.3 MB / 0.6113 GB, free: 14.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.4523, allocations: 10.33 MB / 0.6214 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.4547, allocations: 59.62 kB / 0.6215 GB, free: 3.969 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.4568, allocations: 0.5557 MB / 0.622 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.4626, allocations: 1.758 MB / 0.6237 GB, free: 1.645 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.466, allocations: 1.076 MB / 0.6248 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005523/0.4715, allocations: 3.43 MB / 0.6281 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001831/0.4734, allocations: 1.051 MB / 0.6292 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004106/0.4775, allocations: 1.401 MB / 0.6305 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.479, allocations: 0.9023 MB / 0.6314 GB, free: 9.762 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.4792, allocations: 99.98 kB / 0.6315 GB, free: 9.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.4813, allocations: 0.8616 MB / 0.6324 GB, free: 8.801 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.4817, allocations: 283 kB / 0.6326 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.4825, allocations: 0.6337 MB / 0.6332 GB, free: 7.887 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.4847, allocations: 1.493 MB / 0.6347 GB, free: 6.391 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4847, allocations: 0 / 0.6347 GB, free: 6.391 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4847, allocations: 0 / 0.6347 GB, free: 6.391 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.4847, allocations: 4 kB / 0.6347 GB, free: 6.387 MB / 478.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.002658/0.4874, allocations: 1.515 MB / 0.6362 GB, free: 4.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4875, allocations: 8.031 kB / 0.6362 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.4879, allocations: 139.4 kB / 0.6363 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.4896, allocations: 1.078 MB / 0.6374 GB, free: 3.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.4897, allocations: 61.92 kB / 0.6374 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4898, allocations: 68 kB / 0.6375 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4913, allocations: 0.7944 MB / 0.6383 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4914, allocations: 0 / 0.6383 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.4914, allocations: 28 kB / 0.6383 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.4915, allocations: 16 kB / 0.6383 GB, free: 2.555 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4927, allocations: 0.5789 MB / 0.6389 GB, free: 1.973 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.004695/0.4974, allocations: 3.691 MB / 0.6425 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.498, allocations: 268.5 kB / 0.6427 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.4984, allocations: 176.7 kB / 0.6429 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.4991, allocations: 0.6609 MB / 0.6436 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4991, allocations: 34.56 kB / 0.6436 GB, free: 12.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 4.168e-06/0.4991, allocations: 0 / 0.6436 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001306/0.5004, allocations: 0.5125 MB / 0.6441 GB, free: 12.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5005, allocations: 63.34 kB / 0.6442 GB, free: 12.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5018, allocations: 0.9376 MB / 0.6451 GB, free: 11.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.5018, allocations: 33.7 kB / 0.6451 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.5023, allocations: 0.4956 MB / 0.6456 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.5025, allocations: 106.5 kB / 0.6457 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.5026, allocations: 110.1 kB / 0.6458 GB, free: 10.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5028, allocations: 333.9 kB / 0.6461 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.5032, allocations: 169 kB / 0.6463 GB, free: 9.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.5038, allocations: 343 kB / 0.6466 GB, free: 9.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.5047, allocations: 0.5108 MB / 0.6471 GB, free: 8.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5047, allocations: 3.984 kB / 0.6471 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001189/0.5059, allocations: 0.6251 MB / 0.6477 GB, free: 8.281 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.5059, allocations: 8 kB / 0.6477 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5059, allocations: 4 kB / 0.6477 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.506, allocations: 8 kB / 0.6477 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.5064, allocations: 123.8 kB / 0.6478 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.5064, allocations: 15.92 kB / 0.6479 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.5071, allocations: 111.4 kB / 0.648 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.5072, allocations: 31.98 kB / 0.648 GB, free: 7.984 MB / 494.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.0004026/0.5076, allocations: 269.6 kB / 0.6483 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.5078, allocations: 98.78 kB / 0.6483 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5088, allocations: 490.3 kB / 0.6488 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.5089, allocations: 0 / 0.6488 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5089, allocations: 4 kB / 0.6488 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007945/0.5097, allocations: 457.2 kB / 0.6493 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.5121, allocations: 1.354 MB / 0.6506 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5121, allocations: 4 kB / 0.6506 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.5126, allocations: 71.89 kB / 0.6507 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5126, allocations: 4.156 kB / 0.6507 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.5126, allocations: 12 kB / 0.6507 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5127, allocations: 4 kB / 0.6507 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5127, allocations: 7.984 kB / 0.6507 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.514, allocations: 0.7621 MB / 0.6514 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.5144, allocations: 223.7 kB / 0.6516 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5145, allocations: 15.94 kB / 0.6517 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.5151, allocations: 55.86 kB / 0.6517 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.5152, allocations: 27.95 kB / 0.6517 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.5153, allocations: 23.98 kB / 0.6518 GB, free: 3.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009736/0.5162, allocations: 0.6471 MB / 0.6524 GB, free: 3.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5162, allocations: 0 / 0.6524 GB, free: 3.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001034/0.5173, allocations: 327.5 kB / 0.6527 GB, free: 2.996 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.0008543/0.5181, allocations: 390.7 kB / 0.6531 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.5192, allocations: 452 kB / 0.6535 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5192, allocations: 0 / 0.6535 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.5196, allocations: 192.9 kB / 0.6537 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.5223, allocations: 0.6168 MB / 0.6543 GB, free: 1.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.5254, allocations: 1.967 MB / 0.6562 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007264/0.5261, allocations: 1.028 MB / 0.6572 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.5264, allocations: 91.41 kB / 0.6573 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5264, allocations: 0 / 0.6573 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.03068/0.5571, allocations: 17.77 MB / 0.6747 GB, free: 12.64 MB / 0.5137 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)