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.001405/0.001405, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001465/0.001465, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.348/1.348, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 135.1 MB / 425.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001485, allocations: 75.81 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3861, allocations: 80.91 MB / 0.5845 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06297/0.4491, allocations: 76.48 MB / 0.6592 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.4746, allocations: 18.72 MB / 0.6775 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004484/0.4791, allocations: 107.3 kB / 0.6776 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.4832, allocations: 1.065 MB / 0.6786 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.4944, allocations: 3.393 MB / 0.6819 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005935/0.5003, allocations: 1.92 MB / 0.6838 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.5104, allocations: 6.716 MB / 0.6904 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003596/0.514, allocations: 2.069 MB / 0.6924 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006503/0.5205, allocations: 2.337 MB / 0.6947 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.5242, allocations: 1.82 MB / 0.6965 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007805/0.525, allocations: 196 kB / 0.6966 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.5297, allocations: 1.649 MB / 0.6982 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.5306, allocations: 0.5332 MB / 0.6988 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.5327, allocations: 1.248 MB / 0.7 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004529/0.5372, allocations: 2.912 MB / 0.7028 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5372, allocations: 0 / 0.7028 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5373, allocations: 0 / 0.7028 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.723e-05/0.5373, allocations: 0 / 0.7028 GB, free: 1.477 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.005039/0.5424, allocations: 2.719 MB / 0.7055 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5424, allocations: 9.109 kB / 0.7055 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.5432, allocations: 269.6 kB / 0.7058 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.5463, allocations: 1.979 MB / 0.7077 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.5464, allocations: 110.6 kB / 0.7078 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.5466, allocations: 140 kB / 0.7079 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.5493, allocations: 1.516 MB / 0.7094 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.5494, allocations: 3.938 kB / 0.7094 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.5495, allocations: 60 kB / 0.7095 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/0.5496, allocations: 39.98 kB / 0.7095 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.5517, allocations: 1.134 MB / 0.7106 GB, free: 9.309 MB / 0.545 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.008919/0.5606, allocations: 7.568 MB / 0.718 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.5616, allocations: 481.6 kB / 0.7185 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.5622, allocations: 338.8 kB / 0.7188 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/0.5631, allocations: 1.148 MB / 0.7199 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5631, allocations: 43.12 kB / 0.7199 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.385e-06/0.5631, allocations: 0 / 0.7199 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002314/0.5654, allocations: 0.9691 MB / 0.7209 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.5655, allocations: 55.97 kB / 0.7209 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.5678, allocations: 1.755 MB / 0.7227 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.5679, allocations: 45.7 kB / 0.7227 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/0.5686, allocations: 0.9355 MB / 0.7236 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.5689, allocations: 224.9 kB / 0.7238 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.5692, allocations: 226.7 kB / 0.724 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5693, allocations: 349.9 kB / 0.7244 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.57, allocations: 330.4 kB / 0.7247 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009022/0.5709, allocations: 0.686 MB / 0.7254 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.5724, allocations: 1.012 MB / 0.7264 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5724, allocations: 4 kB / 0.7264 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00232/0.5747, allocations: 1.214 MB / 0.7275 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5747, allocations: 8 kB / 0.7276 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5747, allocations: 12 kB / 0.7276 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.5748, allocations: 16 kB / 0.7276 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.5757, allocations: 291.7 kB / 0.7279 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.5757, allocations: 23.94 kB / 0.7279 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.5774, allocations: 234.4 kB / 0.7281 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.5775, allocations: 59.92 kB / 0.7282 GB, free: 6.086 MB / 0.5606 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.000766/0.5782, allocations: 438.3 kB / 0.7286 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/0.5786, allocations: 193.7 kB / 0.7288 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.5803, allocations: 0.8742 MB / 0.7296 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.5804, allocations: 4 kB / 0.7296 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5804, allocations: 0 / 0.7296 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001222/0.5816, allocations: 0.7918 MB / 0.7304 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.5857, allocations: 2.432 MB / 0.7328 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5858, allocations: 4.062 kB / 0.7328 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.5865, allocations: 183.7 kB / 0.7329 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.5865, allocations: 4 kB / 0.733 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.5866, allocations: 19.98 kB / 0.733 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.5866, allocations: 4 kB / 0.733 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.5866, allocations: 11.94 kB / 0.733 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.589, allocations: 1.335 MB / 0.7343 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.5897, allocations: 366.5 kB / 0.7346 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.59, allocations: 16 kB / 0.7347 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.5911, allocations: 115.7 kB / 0.7348 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5912, allocations: 52.38 kB / 0.7348 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.5913, allocations: 39.97 kB / 0.7349 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001713/0.593, allocations: 1.216 MB / 0.736 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.593, allocations: 0 / 0.736 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002005/0.595, allocations: 0.6356 MB / 0.7367 GB, free: 13.15 MB / 0.5762 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.0012/0.5962, allocations: 0.5971 MB / 0.7372 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.5982, allocations: 0.89 MB / 0.7381 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5982, allocations: 0.6875 kB / 0.7381 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.5989, allocations: 354.9 kB / 0.7385 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/0.604, allocations: 1.209 MB / 0.7396 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.6093, allocations: 3.766 MB / 0.7433 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/0.6102, allocations: 1.392 MB / 0.7447 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.6106, allocations: 159.4 kB / 0.7448 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6106, allocations: 0 / 0.7448 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.369/0.9796, allocations: 34.45 MB / 0.7785 GB, free: 136.4 MB / 0.5762 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)