Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001164/0.001164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001151/0.001151, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.28 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1698, allocations: 80.94 MB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3316/0.5014, allocations: 41.23 MB / 0.6241 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.5167, allocations: 10.31 MB / 0.6342 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.5199, allocations: 54.94 kB / 0.6343 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.5223, allocations: 0.5588 MB / 0.6348 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006736/0.5292, allocations: 1.748 MB / 0.6365 GB, free: 22.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.5329, allocations: 1.088 MB / 0.6376 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004887/0.5378, allocations: 3.419 MB / 0.6409 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.5396, allocations: 1.046 MB / 0.6419 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.5434, allocations: 1.248 MB / 0.6432 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.5451, allocations: 0.9148 MB / 0.6441 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004474/0.5456, allocations: 101.7 kB / 0.6442 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.5481, allocations: 0.877 MB / 0.645 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.5486, allocations: 279.4 kB / 0.6453 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.5498, allocations: 0.6295 MB / 0.6459 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002901/0.5527, allocations: 1.931 MB / 0.6478 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5527, allocations: 0 / 0.6478 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5527, allocations: 0 / 0.6478 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.5527, allocations: 0 / 0.6478 GB, free: 17.25 MB / 0.4981 GB 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.002282/0.555, allocations: 1.513 MB / 0.6493 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5551, allocations: 8.188 kB / 0.6493 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.5554, allocations: 137.3 kB / 0.6494 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5568, allocations: 1.07 MB / 0.6504 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.5569, allocations: 54.75 kB / 0.6505 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/0.557, allocations: 77.27 kB / 0.6506 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5582, allocations: 0.7921 MB / 0.6513 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5582, allocations: 0 / 0.6513 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.115e-05/0.5583, allocations: 31.5 kB / 0.6514 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.5583, allocations: 21.25 kB / 0.6514 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.5594, allocations: 0.5683 MB / 0.6519 GB, free: 14.86 MB / 0.4981 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.004311/0.5638, allocations: 3.543 MB / 0.6554 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.5644, allocations: 258.8 kB / 0.6557 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.5648, allocations: 184.8 kB / 0.6558 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/0.5652, allocations: 0.6601 MB / 0.6565 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.5652, allocations: 37.81 kB / 0.6565 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.916e-06/0.5652, allocations: 0 / 0.6565 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001356/0.5666, allocations: 0.5067 MB / 0.657 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.5666, allocations: 58.77 kB / 0.6571 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.5679, allocations: 0.9367 MB / 0.658 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.5679, allocations: 33.14 kB / 0.658 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.5683, allocations: 0.4926 MB / 0.6585 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5684, allocations: 120.2 kB / 0.6586 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.5686, allocations: 115.3 kB / 0.6587 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.5686, allocations: 333.2 kB / 0.659 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.569, allocations: 159.7 kB / 0.6592 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.5695, allocations: 358 kB / 0.6595 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.5703, allocations: 0.503 MB / 0.66 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5703, allocations: 0.9062 kB / 0.66 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001192/0.5715, allocations: 0.6235 MB / 0.6606 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5715, allocations: 7.062 kB / 0.6606 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5715, allocations: 5.75 kB / 0.6606 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.5716, allocations: 8.406 kB / 0.6606 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.5721, allocations: 128.2 kB / 0.6608 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.5721, allocations: 12.69 kB / 0.6608 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009346/0.573, allocations: 112.4 kB / 0.6609 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/0.5731, allocations: 29.86 kB / 0.6609 GB, free: 8.73 MB / 0.4981 GB 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.0006782/0.5738, allocations: 272.4 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.5741, allocations: 98.97 kB / 0.6613 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.5753, allocations: 478.5 kB / 0.6617 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.5753, allocations: 13.47 kB / 0.6617 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5753, allocations: 0.5625 kB / 0.6617 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008442/0.5762, allocations: 457.2 kB / 0.6622 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.579, allocations: 1.354 MB / 0.6635 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.579, allocations: 2.406 kB / 0.6635 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.5794, allocations: 77.31 kB / 0.6636 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5794, allocations: 3.125 kB / 0.6636 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5794, allocations: 13.58 kB / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.5795, allocations: 2.438 kB / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5795, allocations: 2.703 kB / 0.6636 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.5809, allocations: 0.7682 MB / 0.6643 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.5814, allocations: 228.6 kB / 0.6646 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.5815, allocations: 10.06 kB / 0.6646 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.5821, allocations: 59.95 kB / 0.6646 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.5822, allocations: 25.08 kB / 0.6647 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.5823, allocations: 16.69 kB / 0.6647 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001005/0.5833, allocations: 0.6477 MB / 0.6653 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5833, allocations: 3.938 kB / 0.6653 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001272/0.5846, allocations: 330.9 kB / 0.6656 GB, free: 6.301 MB / 0.4981 GB 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.0008955/0.5855, allocations: 385.7 kB / 0.666 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.5866, allocations: 444.3 kB / 0.6664 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5866, allocations: 1.75 kB / 0.6664 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.587, allocations: 186.8 kB / 0.6666 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.5897, allocations: 0.6175 MB / 0.6672 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.5925, allocations: 1.939 MB / 0.6691 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.5931, allocations: 1.038 MB / 0.6701 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5942, allocations: 195.6 kB / 0.6703 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.5944, allocations: 80.56 kB / 0.6704 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.5944, allocations: 3.938 kB / 0.6704 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.04257/0.637, allocations: 20.74 MB / 0.6906 GB, free: 13.47 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)