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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001087/0.001087, allocations: 193 kB / 16.13 MB, free: 6.66 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.1 MB / 425.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.88 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.293/0.4363, allocations: 76.64 MB / 0.6587 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.4569, allocations: 18.93 MB / 0.6771 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.46, allocations: 99.88 kB / 0.6772 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.4636, allocations: 1.029 MB / 0.6782 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008769/0.4724, allocations: 3.36 MB / 0.6815 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.4771, allocations: 1.908 MB / 0.6834 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.4872, allocations: 8.876 MB / 0.6921 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.49, allocations: 1.729 MB / 0.6937 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.4941, allocations: 1.942 MB / 0.6956 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.4979, allocations: 1.771 MB / 0.6974 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006395/0.4986, allocations: 96.97 kB / 0.6975 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/0.5039, allocations: 1.47 MB / 0.6989 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.5052, allocations: 450.6 kB / 0.6993 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.5084, allocations: 1.145 MB / 0.7004 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007359/0.5158, allocations: 3.645 MB / 0.704 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5158, allocations: 2.906 kB / 0.704 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5158, allocations: 0 / 0.704 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000127/0.516, allocations: 0 / 0.704 GB, free: 12.14 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.006733/0.5227, allocations: 2.715 MB / 0.7067 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5228, allocations: 9.281 kB / 0.7067 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004013/0.5232, allocations: 207 kB / 0.7069 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.5242, allocations: 266.9 kB / 0.7071 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/0.5281, allocations: 1.973 MB / 0.709 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5282, allocations: 113 kB / 0.7092 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.5285, allocations: 143.5 kB / 0.7093 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.5315, allocations: 1.523 MB / 0.7108 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/0.5315, allocations: 0.875 kB / 0.7108 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.5317, allocations: 58.22 kB / 0.7108 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/0.5317, allocations: 48.98 kB / 0.7109 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.5341, allocations: 1.12 MB / 0.712 GB, free: 6.836 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.009426/0.5435, allocations: 7.566 MB / 0.7194 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.5445, allocations: 482 kB / 0.7198 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006136/0.5451, allocations: 327.8 kB / 0.7201 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/0.546, allocations: 1.158 MB / 0.7213 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.546, allocations: 39.75 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.205e-06/0.5461, allocations: 0 / 0.7213 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002346/0.5484, allocations: 0.963 MB / 0.7222 GB, free: 13.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5485, allocations: 54.5 kB / 0.7223 GB, free: 13.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.5509, allocations: 1.757 MB / 0.724 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.551, allocations: 41.7 kB / 0.7241 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000802/0.5519, allocations: 0.9316 MB / 0.725 GB, free: 11.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.5521, allocations: 224.9 kB / 0.7252 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.5524, allocations: 230.7 kB / 0.7254 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5526, allocations: 349.9 kB / 0.7257 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.5533, allocations: 326.4 kB / 0.726 GB, free: 10.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009811/0.5543, allocations: 0.6938 MB / 0.7267 GB, free: 9.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.556, allocations: 1.008 MB / 0.7277 GB, free: 8.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.5561, allocations: 4 kB / 0.7277 GB, free: 8.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002481/0.5585, allocations: 1.218 MB / 0.7289 GB, free: 7.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5586, allocations: 12 kB / 0.7289 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5586, allocations: 11.94 kB / 0.7289 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.5586, allocations: 16 kB / 0.7289 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5597, allocations: 288 kB / 0.7292 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/0.5597, allocations: 23.92 kB / 0.7292 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.5615, allocations: 238.4 kB / 0.7295 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.5616, allocations: 51.98 kB / 0.7295 GB, free: 6.719 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.0007519/0.5624, allocations: 449.3 kB / 0.7299 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.5629, allocations: 189.7 kB / 0.7301 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.5647, allocations: 0.8696 MB / 0.731 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.5648, allocations: 8 kB / 0.731 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5648, allocations: 0 / 0.731 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/0.5661, allocations: 0.7956 MB / 0.7318 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/0.5708, allocations: 2.435 MB / 0.7341 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5708, allocations: 4 kB / 0.7341 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007999/0.5716, allocations: 179.7 kB / 0.7343 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.5716, allocations: 4.219 kB / 0.7343 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.5717, allocations: 27.98 kB / 0.7343 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.5717, allocations: 4 kB / 0.7343 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5717, allocations: 0 / 0.7343 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.5742, allocations: 1.335 MB / 0.7356 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/0.575, allocations: 366.5 kB / 0.736 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/0.5755, allocations: 12 kB / 0.736 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.5768, allocations: 119.7 kB / 0.7361 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5769, allocations: 48.5 kB / 0.7362 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.577, allocations: 39.91 kB / 0.7362 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001792/0.5788, allocations: 1.22 MB / 0.7374 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5788, allocations: 4 kB / 0.7374 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001984/0.5808, allocations: 0.6395 MB / 0.738 GB, free: 13.77 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.003788/0.5846, allocations: 2.356 MB / 0.7403 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.5863, allocations: 0.812 MB / 0.7411 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5863, allocations: 4 kB / 0.7411 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.587, allocations: 356 kB / 0.7415 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005671/0.5927, allocations: 1.213 MB / 0.7426 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/0.6225, allocations: 14.74 MB / 0.757 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.6237, allocations: 1.401 MB / 0.7584 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001841/0.6255, allocations: 379.9 kB / 0.7588 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.6266, allocations: 0.7648 MB / 0.7595 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.6266, allocations: 4 kB / 0.7595 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6105/1.237, allocations: 55.22 MB / 0.8134 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/1.237, allocations: 249 kB / 0.8137 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.696, allocations: 3.938 kB / 0.8137 GB, free: 15.67 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)