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.0009886/0.0009886, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 180.1 kB / 16.92 MB, free: 6.688 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 12.91 kB / 495.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 77.53 MB / 0.56 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2915/0.4339, allocations: 40.46 MB / 0.5995 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.4477, allocations: 10.34 MB / 0.6096 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.4497, allocations: 51.62 kB / 0.6096 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.4512, allocations: 0.5237 MB / 0.6101 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.4561, allocations: 1.744 MB / 0.6118 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.4589, allocations: 1.082 MB / 0.6129 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005288/0.4642, allocations: 4.515 MB / 0.6173 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.4654, allocations: 0.8563 MB / 0.6181 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.4673, allocations: 1.011 MB / 0.6191 GB, free: 1.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.4684, allocations: 0.8623 MB / 0.62 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.4685, allocations: 37.25 kB / 0.62 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.4705, allocations: 0.7737 MB / 0.6207 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.4707, allocations: 212 kB / 0.621 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.4713, allocations: 0.5739 MB / 0.6215 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.4735, allocations: 1.843 MB / 0.6233 GB, free: 15.58 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4736, allocations: 0 / 0.6233 GB, free: 15.58 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4736, allocations: 0.9062 kB / 0.6233 GB, free: 15.58 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4736, allocations: 0 / 0.6233 GB, free: 15.58 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.00228/0.4759, allocations: 1.305 MB / 0.6246 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4759, allocations: 13.25 kB / 0.6246 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003435/0.4763, allocations: 136.5 kB / 0.6247 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.478, allocations: 1.074 MB / 0.6258 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.478, allocations: 50.91 kB / 0.6258 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4781, allocations: 71.81 kB / 0.6259 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4795, allocations: 0.8051 MB / 0.6267 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4796, allocations: 1.375 kB / 0.6267 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.4797, allocations: 34.86 kB / 0.6267 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.4797, allocations: 19.25 kB / 0.6267 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4808, allocations: 0.591 MB / 0.6273 GB, free: 12.75 MB / 462.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.004047/0.4849, allocations: 3.549 MB / 0.6308 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.4855, allocations: 280.7 kB / 0.631 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.4859, allocations: 192.9 kB / 0.6312 GB, free: 9.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/0.4864, allocations: 0.652 MB / 0.6319 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4864, allocations: 37.47 kB / 0.6319 GB, free: 8.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.4864, allocations: 0 / 0.6319 GB, free: 8.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001159/0.4876, allocations: 0.5406 MB / 0.6324 GB, free: 8.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4876, allocations: 58.47 kB / 0.6325 GB, free: 8.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4887, allocations: 0.9316 MB / 0.6334 GB, free: 7.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.4888, allocations: 36.52 kB / 0.6334 GB, free: 7.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.4891, allocations: 0.4924 MB / 0.6339 GB, free: 7.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4892, allocations: 118.1 kB / 0.634 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.4893, allocations: 45.8 kB / 0.6341 GB, free: 7.121 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4894, allocations: 333.2 kB / 0.6344 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.4898, allocations: 175.3 kB / 0.6346 GB, free: 6.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.4903, allocations: 357.7 kB / 0.6349 GB, free: 6.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.4911, allocations: 0.5376 MB / 0.6354 GB, free: 6.012 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.4912, allocations: 0 / 0.6354 GB, free: 6.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00114/0.4923, allocations: 0.6375 MB / 0.636 GB, free: 5.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4923, allocations: 10 kB / 0.6361 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4924, allocations: 5.062 kB / 0.6361 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4924, allocations: 7.531 kB / 0.6361 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.4928, allocations: 135 kB / 0.6362 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.4928, allocations: 11.81 kB / 0.6362 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.4936, allocations: 125.3 kB / 0.6363 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.4937, allocations: 22.44 kB / 0.6363 GB, free: 5.574 MB / 462.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.000354/0.494, allocations: 278.8 kB / 0.6366 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4942, allocations: 102.2 kB / 0.6367 GB, free: 5.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009991/0.4952, allocations: 499.6 kB / 0.6372 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4952, allocations: 11.45 kB / 0.6372 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4952, allocations: 8 kB / 0.6372 GB, free: 5.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006968/0.4959, allocations: 469.9 kB / 0.6377 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.4979, allocations: 1.384 MB / 0.639 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.498, allocations: 3.094 kB / 0.639 GB, free: 3.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.4983, allocations: 80.11 kB / 0.6391 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.4983, allocations: 7.469 kB / 0.6391 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4983, allocations: 15.3 kB / 0.6391 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4983, allocations: 3.094 kB / 0.6391 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4983, allocations: 3.312 kB / 0.6391 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4996, allocations: 0.7971 MB / 0.6399 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.4999, allocations: 249 kB / 0.6401 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5, allocations: 11.56 kB / 0.6401 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.5006, allocations: 55.98 kB / 0.6402 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.5007, allocations: 29.23 kB / 0.6402 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.5007, allocations: 21.2 kB / 0.6402 GB, free: 2.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007874/0.5015, allocations: 0.6447 MB / 0.6409 GB, free: 2.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5015, allocations: 1.062 kB / 0.6409 GB, free: 2.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001044/0.5026, allocations: 330.9 kB / 0.6412 GB, free: 2.453 MB / 462.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.0007005/0.5033, allocations: 370.2 kB / 0.6415 GB, free: 2.246 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000848/0.5041, allocations: 453.8 kB / 0.642 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5041, allocations: 0 / 0.642 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.5045, allocations: 196.6 kB / 0.6422 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/0.5075, allocations: 0.6062 MB / 0.6427 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.5101, allocations: 1.993 MB / 0.6447 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.5107, allocations: 1.032 MB / 0.6457 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007079/0.5115, allocations: 200.4 kB / 0.6459 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.5116, allocations: 83.42 kB / 0.646 GB, free: 13.79 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5116, allocations: 0 / 0.646 GB, free: 13.79 MB / 478.1 MB Notification: Performance of Templates: time 0.03259/0.5442, allocations: 20.2 MB / 0.6657 GB, free: 9.863 MB / 494.1 MB 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)