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.00164/0.00164, allocations: 108 kB / 15.6 MB, free: 132 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.00209/0.00209, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9186/0.9186, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 65 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 80.92 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2902/0.4298, allocations: 77.13 MB / 0.6598 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.4537, allocations: 18.86 MB / 0.6782 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003323/0.4571, allocations: 108.5 kB / 0.6783 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.4609, allocations: 1.249 MB / 0.6795 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.4715, allocations: 3.615 MB / 0.6831 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005833/0.4774, allocations: 2.074 MB / 0.6851 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.4888, allocations: 6.663 MB / 0.6916 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004058/0.4929, allocations: 2.095 MB / 0.6936 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006047/0.4989, allocations: 2.304 MB / 0.6959 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003972/0.5029, allocations: 1.749 MB / 0.6976 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008443/0.5038, allocations: 199.6 kB / 0.6978 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.5094, allocations: 1.618 MB / 0.6994 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.5105, allocations: 0.5335 MB / 0.6999 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003008/0.5135, allocations: 1.254 MB / 0.7011 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008186/0.5217, allocations: 3.707 MB / 0.7047 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5218, allocations: 1.031 kB / 0.7047 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5218, allocations: 0 / 0.7047 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001565/0.522, allocations: 0 / 0.7047 GB, free: 10.62 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.007428/0.5294, allocations: 2.724 MB / 0.7074 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5295, allocations: 13.03 kB / 0.7074 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000422/0.5299, allocations: 206.7 kB / 0.7076 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.531, allocations: 268.2 kB / 0.7079 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.5351, allocations: 1.893 MB / 0.7097 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.5353, allocations: 105.9 kB / 0.7098 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.5356, allocations: 150.6 kB / 0.71 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.5391, allocations: 1.522 MB / 0.7114 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.5392, allocations: 2.469 kB / 0.7114 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.5393, allocations: 58.03 kB / 0.7115 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.5394, allocations: 43.95 kB / 0.7115 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.5421, allocations: 1.126 MB / 0.7126 GB, free: 5.672 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.01136/0.5534, allocations: 7.652 MB / 0.7201 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.5545, allocations: 472.5 kB / 0.7206 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.5553, allocations: 338.4 kB / 0.7209 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009135/0.5562, allocations: 1.155 MB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5563, allocations: 42.94 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 3.827e-06/0.5563, allocations: 4 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.003065/0.5594, allocations: 0.9651 MB / 0.723 GB, free: 12.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.5594, allocations: 57.75 kB / 0.7231 GB, free: 12.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.5626, allocations: 1.783 MB / 0.7248 GB, free: 11.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.5628, allocations: 45.61 kB / 0.7248 GB, free: 11.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/0.5636, allocations: 0.9264 MB / 0.7257 GB, free: 10.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.5639, allocations: 217 kB / 0.726 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003565/0.5643, allocations: 235.7 kB / 0.7262 GB, free: 10.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5644, allocations: 346 kB / 0.7265 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006897/0.5651, allocations: 333.8 kB / 0.7268 GB, free: 9.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.5661, allocations: 0.6972 MB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.5677, allocations: 1.009 MB / 0.7285 GB, free: 8.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5678, allocations: 0 / 0.7285 GB, free: 8.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002519/0.5703, allocations: 1.214 MB / 0.7297 GB, free: 6.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5703, allocations: 16.03 kB / 0.7297 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.5704, allocations: 8 kB / 0.7297 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.403e-05/0.5704, allocations: 16 kB / 0.7297 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.5715, allocations: 291.4 kB / 0.73 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.813e-05/0.5715, allocations: 25.25 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.5731, allocations: 170.4 kB / 0.7302 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5732, allocations: 51.98 kB / 0.7302 GB, free: 6.312 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.0008145/0.574, allocations: 433.4 kB / 0.7306 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006023/0.5746, allocations: 193.7 kB / 0.7308 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.5769, allocations: 0.8717 MB / 0.7317 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.5769, allocations: 12 kB / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.5769, allocations: 0 / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/0.5784, allocations: 0.7879 MB / 0.7325 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/0.5833, allocations: 2.455 MB / 0.7349 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5833, allocations: 0 / 0.7349 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.5842, allocations: 180 kB / 0.735 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5842, allocations: 4 kB / 0.735 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.5842, allocations: 16 kB / 0.735 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.5843, allocations: 4 kB / 0.7351 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5843, allocations: 7.938 kB / 0.7351 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.5869, allocations: 1.343 MB / 0.7364 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008145/0.5877, allocations: 366.5 kB / 0.7367 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/0.5881, allocations: 16 kB / 0.7367 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.5893, allocations: 63.91 kB / 0.7368 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5894, allocations: 48.5 kB / 0.7368 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/0.5895, allocations: 43.91 kB / 0.7369 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001799/0.5913, allocations: 1.243 MB / 0.7381 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5914, allocations: 0 / 0.7381 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002006/0.5934, allocations: 0.6551 MB / 0.7387 GB, free: 13.37 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.00404/0.5974, allocations: 2.387 MB / 0.7411 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002075/0.5995, allocations: 0.8906 MB / 0.7419 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5995, allocations: 4.062 kB / 0.7419 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.6003, allocations: 354.9 kB / 0.7423 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/0.6059, allocations: 1.208 MB / 0.7435 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/0.6272, allocations: 14.22 MB / 0.7573 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.6285, allocations: 1.401 MB / 0.7587 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001733/0.6302, allocations: 384.4 kB / 0.7591 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.6313, allocations: 0.7687 MB / 0.7598 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.6313, allocations: 0 / 0.7598 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/0.7762, allocations: 57.29 MB / 0.8158 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/10.21, allocations: 3.438 kB / 0.8158 GB, free: 13.9 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)