Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 100.1 kB / 15.88 MB, free: 12 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.001319/0.001319, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9345/0.9345, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 68.83 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 80.92 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3521/0.5173, allocations: 76.64 MB / 0.6592 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.5429, allocations: 18.94 MB / 0.6777 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.5473, allocations: 99.19 kB / 0.6778 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004145/0.5516, allocations: 1.027 MB / 0.6788 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.5631, allocations: 3.364 MB / 0.6821 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006223/0.5693, allocations: 1.896 MB / 0.6839 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0137/0.583, allocations: 8.876 MB / 0.6926 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.5865, allocations: 1.744 MB / 0.6943 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00543/0.592, allocations: 1.939 MB / 0.6962 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004255/0.5963, allocations: 1.77 MB / 0.6979 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008896/0.5972, allocations: 97.47 kB / 0.698 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/0.6035, allocations: 1.468 MB / 0.6994 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.6049, allocations: 452.1 kB / 0.6999 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003644/0.6085, allocations: 1.139 MB / 0.701 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.6142, allocations: 2.863 MB / 0.7038 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.6143, allocations: 0 / 0.7038 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6143, allocations: 0 / 0.7038 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001467/0.6144, allocations: 0.9688 kB / 0.7038 GB, free: 12.71 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008091/0.6225, allocations: 2.711 MB / 0.7064 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6226, allocations: 13.69 kB / 0.7064 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.6238, allocations: 264 kB / 0.7067 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/0.6284, allocations: 1.988 MB / 0.7086 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.6286, allocations: 108.6 kB / 0.7087 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.6289, allocations: 139.4 kB / 0.7089 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.6324, allocations: 1.518 MB / 0.7103 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.6325, allocations: 6.234 kB / 0.7104 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.6326, allocations: 57.66 kB / 0.7104 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.6327, allocations: 41.03 kB / 0.7104 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.635, allocations: 1.12 MB / 0.7115 GB, free: 7.703 MB / 0.5294 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.009196/0.6442, allocations: 7.575 MB / 0.7189 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.6452, allocations: 476.5 kB / 0.7194 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.6458, allocations: 326.6 kB / 0.7197 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008482/0.6467, allocations: 1.153 MB / 0.7208 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6467, allocations: 41.88 kB / 0.7209 GB, free: 15.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.6467, allocations: 6.812 kB / 0.7209 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002258/0.649, allocations: 0.9615 MB / 0.7218 GB, free: 14.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.649, allocations: 63.44 kB / 0.7219 GB, free: 14.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.6512, allocations: 1.755 MB / 0.7236 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.6513, allocations: 42.83 kB / 0.7236 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/0.652, allocations: 0.9333 MB / 0.7245 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.6522, allocations: 219.2 kB / 0.7248 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.6525, allocations: 230 kB / 0.725 GB, free: 12.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6527, allocations: 352.8 kB / 0.7253 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.6533, allocations: 327 kB / 0.7256 GB, free: 11.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.6543, allocations: 0.6899 MB / 0.7263 GB, free: 10.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6557, allocations: 1.012 MB / 0.7273 GB, free: 9.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6558, allocations: 4 kB / 0.7273 GB, free: 9.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002216/0.658, allocations: 1.218 MB / 0.7285 GB, free: 8.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.658, allocations: 11.98 kB / 0.7285 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.658, allocations: 8 kB / 0.7285 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.6581, allocations: 16 kB / 0.7285 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009741/0.659, allocations: 291.8 kB / 0.7288 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.6591, allocations: 15.94 kB / 0.7288 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.6608, allocations: 238.4 kB / 0.729 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.6609, allocations: 53.55 kB / 0.7291 GB, free: 7.969 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007374/0.6616, allocations: 450.1 kB / 0.7295 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.6619, allocations: 189.7 kB / 0.7297 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6636, allocations: 0.8643 MB / 0.7305 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6636, allocations: 11.98 kB / 0.7305 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6636, allocations: 0 / 0.7305 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.6649, allocations: 0.7995 MB / 0.7313 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.6689, allocations: 2.432 MB / 0.7337 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6689, allocations: 4 kB / 0.7337 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.6697, allocations: 183.7 kB / 0.7339 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.6697, allocations: 4 kB / 0.7339 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.6698, allocations: 19.94 kB / 0.7339 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6698, allocations: 8.031 kB / 0.7339 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6698, allocations: 0 / 0.7339 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.6721, allocations: 1.335 MB / 0.7352 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/0.6729, allocations: 366.5 kB / 0.7356 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6732, allocations: 16 kB / 0.7356 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6742, allocations: 115.7 kB / 0.7357 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6744, allocations: 56.42 kB / 0.7357 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.6744, allocations: 35.97 kB / 0.7358 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001615/0.6761, allocations: 1.216 MB / 0.737 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6761, allocations: 0 / 0.737 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002001/0.6781, allocations: 0.6395 MB / 0.7376 GB, free: 15.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001205/0.6793, allocations: 0.5848 MB / 0.7382 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.681, allocations: 0.8086 MB / 0.739 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.681, allocations: 0 / 0.739 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.6817, allocations: 363 kB / 0.7393 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/0.6873, allocations: 1.206 MB / 0.7405 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.6926, allocations: 3.775 MB / 0.7442 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/0.6935, allocations: 1.392 MB / 0.7455 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.694, allocations: 151.4 kB / 0.7457 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.694, allocations: 0 / 0.7457 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of Templates: time 0.04849/0.7425, allocations: 34.68 MB / 0.7795 GB, free: 4.281 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)