Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108 kB / 15.61 MB, free: 152 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.001622/0.001622, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7713/0.7713, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.3 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3585, allocations: 80.2 MB / 0.5802 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07091/0.4294, allocations: 77.15 MB / 0.6555 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.4538, allocations: 18.85 MB / 0.6739 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.4571, allocations: 111.4 kB / 0.674 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.4604, allocations: 1.254 MB / 0.6753 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009351/0.4697, allocations: 3.611 MB / 0.6788 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00508/0.4748, allocations: 2.077 MB / 0.6808 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008819/0.4837, allocations: 6.666 MB / 0.6873 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.4871, allocations: 2.092 MB / 0.6894 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.492, allocations: 2.304 MB / 0.6916 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.4948, allocations: 1.754 MB / 0.6933 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005855/0.4954, allocations: 200 kB / 0.6935 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/0.4997, allocations: 1.614 MB / 0.6951 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008746/0.5006, allocations: 0.5371 MB / 0.6956 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.5028, allocations: 1.256 MB / 0.6969 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.5085, allocations: 3.712 MB / 0.7005 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5086, allocations: 4 kB / 0.7005 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5086, allocations: 0 / 0.7005 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.807e-05/0.5087, allocations: 0 / 0.7005 GB, free: 5.863 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.004989/0.5137, allocations: 2.707 MB / 0.7031 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5137, allocations: 12.03 kB / 0.7031 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003025/0.514, allocations: 198.8 kB / 0.7033 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/0.5148, allocations: 273.4 kB / 0.7036 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.5175, allocations: 1.906 MB / 0.7055 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/0.5176, allocations: 106.7 kB / 0.7056 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.5178, allocations: 151.9 kB / 0.7057 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.5203, allocations: 1.512 MB / 0.7072 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5203, allocations: 7.984 kB / 0.7072 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5204, allocations: 52 kB / 0.7072 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/0.5205, allocations: 47.94 kB / 0.7073 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.5225, allocations: 1.122 MB / 0.7084 GB, free: 13.57 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.007154/0.5297, allocations: 7.653 MB / 0.7158 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.5306, allocations: 477.9 kB / 0.7163 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.5311, allocations: 338.3 kB / 0.7166 GB, free: 4.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.5319, allocations: 1.145 MB / 0.7177 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.532, allocations: 47.14 kB / 0.7178 GB, free: 3.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.795e-06/0.532, allocations: 4 kB / 0.7178 GB, free: 3.066 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002062/0.534, allocations: 0.9534 MB / 0.7187 GB, free: 2.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5341, allocations: 59.97 kB / 0.7188 GB, free: 2.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.536, allocations: 1.794 MB / 0.7205 GB, free: 208 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.5361, allocations: 41.7 kB / 0.7206 GB, free: 160 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006763/0.5368, allocations: 0.9317 MB / 0.7215 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.537, allocations: 217 kB / 0.7217 GB, free: 15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.5372, allocations: 234.5 kB / 0.7219 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5374, allocations: 353.9 kB / 0.7223 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.538, allocations: 326.4 kB / 0.7226 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.5389, allocations: 0.6899 MB / 0.7232 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.5407, allocations: 1.008 MB / 0.7242 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.5407, allocations: 4 kB / 0.7242 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002223/0.543, allocations: 1.214 MB / 0.7254 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.543, allocations: 15.98 kB / 0.7254 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.543, allocations: 12 kB / 0.7254 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.5431, allocations: 15.94 kB / 0.7255 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.544, allocations: 291.6 kB / 0.7257 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.5441, allocations: 19.94 kB / 0.7258 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5452, allocations: 166.4 kB / 0.7259 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/0.5453, allocations: 55.98 kB / 0.726 GB, free: 10.32 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.0006121/0.5459, allocations: 437.4 kB / 0.7264 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.5462, allocations: 189.7 kB / 0.7266 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.5479, allocations: 0.8748 MB / 0.7274 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5479, allocations: 4 kB / 0.7274 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5479, allocations: 0 / 0.7274 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001322/0.5492, allocations: 0.7995 MB / 0.7282 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.553, allocations: 2.455 MB / 0.7306 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.553, allocations: 4 kB / 0.7306 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.5537, allocations: 180 kB / 0.7308 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.5538, allocations: 4 kB / 0.7308 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.5538, allocations: 16 kB / 0.7308 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.5538, allocations: 11.92 kB / 0.7308 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5538, allocations: 4 kB / 0.7308 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.5561, allocations: 1.331 MB / 0.7321 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.5566, allocations: 370.5 kB / 0.7325 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.5569, allocations: 19.92 kB / 0.7325 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.5578, allocations: 59.92 kB / 0.7325 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5579, allocations: 56.44 kB / 0.7326 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.558, allocations: 35.97 kB / 0.7326 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00157/0.5596, allocations: 1.235 MB / 0.7338 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 0.7338 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001526/0.5611, allocations: 0.659 MB / 0.7345 GB, free: 1.367 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.003521/0.5646, allocations: 2.376 MB / 0.7368 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.5666, allocations: 0.9022 MB / 0.7377 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5666, allocations: 0 / 0.7377 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.5673, allocations: 354.9 kB / 0.738 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/0.5724, allocations: 1.199 MB / 0.7392 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01996/0.5924, allocations: 14.23 MB / 0.7531 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/0.5934, allocations: 1.409 MB / 0.7545 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001518/0.5949, allocations: 382 kB / 0.7548 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008894/0.5958, allocations: 0.7648 MB / 0.7556 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.5958, allocations: 0 / 0.7556 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2747/0.8705, allocations: 57.29 MB / 0.8115 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.247/10.12, allocations: 13.78 kB / 0.8115 GB, free: 2.027 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)