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.0006434/0.0006434, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004724/0.004724, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8049/0.8049, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 9.875 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3385, allocations: 81.57 MB / 0.5837 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06468/0.4033, allocations: 75.29 MB / 0.6573 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.4254, allocations: 18.74 MB / 0.6756 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.4279, allocations: 95.38 kB / 0.6757 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.4302, allocations: 1.022 MB / 0.6767 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007157/0.4374, allocations: 3.36 MB / 0.6799 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.4413, allocations: 1.904 MB / 0.6818 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008129/0.4494, allocations: 8.888 MB / 0.6905 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002023/0.4515, allocations: 1.696 MB / 0.6921 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.4543, allocations: 1.878 MB / 0.694 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.456, allocations: 1.707 MB / 0.6956 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4562, allocations: 72 kB / 0.6957 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.459, allocations: 1.446 MB / 0.6971 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.4594, allocations: 418 kB / 0.6975 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009714/0.4604, allocations: 1.121 MB / 0.6986 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003389/0.4638, allocations: 3.563 MB / 0.7021 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4638, allocations: 0 / 0.7021 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4638, allocations: 0 / 0.7021 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.4638, allocations: 0 / 0.7021 GB, free: 6.707 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.003179/0.467, allocations: 2.299 MB / 0.7043 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4671, allocations: 12.03 kB / 0.7043 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000208/0.4673, allocations: 198.8 kB / 0.7045 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004997/0.4678, allocations: 273.3 kB / 0.7048 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.4702, allocations: 1.979 MB / 0.7067 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.991e-05/0.4703, allocations: 102.7 kB / 0.7068 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4705, allocations: 143.9 kB / 0.707 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.4727, allocations: 1.536 MB / 0.7085 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.4727, allocations: 7.938 kB / 0.7085 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.4729, allocations: 67.92 kB / 0.7085 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.4729, allocations: 43.94 kB / 0.7086 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.4749, allocations: 1.165 MB / 0.7097 GB, free: 14.68 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.006375/0.4813, allocations: 7.571 MB / 0.7171 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.4822, allocations: 0.4966 MB / 0.7176 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.4828, allocations: 354.9 kB / 0.7179 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.4835, allocations: 1.156 MB / 0.7191 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.4835, allocations: 47.06 kB / 0.7191 GB, free: 4.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.563e-06/0.4835, allocations: 0 / 0.7191 GB, free: 4.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.001872/0.4854, allocations: 1.028 MB / 0.7201 GB, free: 3.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.4854, allocations: 59.97 kB / 0.7202 GB, free: 3.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.4873, allocations: 1.752 MB / 0.7219 GB, free: 1.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.4873, allocations: 41.7 kB / 0.7219 GB, free: 1.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/0.488, allocations: 0.9394 MB / 0.7228 GB, free: 332 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4881, allocations: 217 kB / 0.723 GB, free: 112 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.713e-05/0.4882, allocations: 97.66 kB / 0.7231 GB, free: 8 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4884, allocations: 346 kB / 0.7235 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.489, allocations: 354.4 kB / 0.7238 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.4899, allocations: 0.7133 MB / 0.7245 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.4913, allocations: 1.051 MB / 0.7255 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4914, allocations: 0 / 0.7255 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001914/0.4933, allocations: 1.265 MB / 0.7268 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4933, allocations: 8 kB / 0.7268 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4933, allocations: 12 kB / 0.7268 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4933, allocations: 16 kB / 0.7268 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.4943, allocations: 315.8 kB / 0.7271 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.4943, allocations: 23.92 kB / 0.7271 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.4955, allocations: 254.3 kB / 0.7274 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.4956, allocations: 48 kB / 0.7274 GB, free: 11.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.0005066/0.4961, allocations: 442.2 kB / 0.7278 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.4963, allocations: 189.7 kB / 0.728 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4979, allocations: 0.9103 MB / 0.7289 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4979, allocations: 15.98 kB / 0.7289 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4979, allocations: 0 / 0.7289 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.4992, allocations: 0.8347 MB / 0.7297 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.5025, allocations: 2.482 MB / 0.7322 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5025, allocations: 7.938 kB / 0.7322 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.5032, allocations: 204 kB / 0.7324 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.5033, allocations: 11.94 kB / 0.7324 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.5033, allocations: 19.98 kB / 0.7324 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.5033, allocations: 8 kB / 0.7324 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5033, allocations: 7.938 kB / 0.7324 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.5054, allocations: 1.402 MB / 0.7338 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.5059, allocations: 402.3 kB / 0.7342 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.5061, allocations: 12 kB / 0.7342 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5071, allocations: 127.6 kB / 0.7343 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.5072, allocations: 52.42 kB / 0.7343 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.5073, allocations: 35.97 kB / 0.7344 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001326/0.5086, allocations: 1.212 MB / 0.7356 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5086, allocations: 4 kB / 0.7356 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001294/0.5099, allocations: 0.6396 MB / 0.7362 GB, free: 2.102 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.003085/0.513, allocations: 2.423 MB / 0.7385 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.5144, allocations: 0.8586 MB / 0.7394 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5144, allocations: 0 / 0.7394 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.5151, allocations: 376.4 kB / 0.7397 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/0.5205, allocations: 1.221 MB / 0.7409 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/0.5431, allocations: 14.91 MB / 0.7555 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.5439, allocations: 1.413 MB / 0.7569 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001188/0.5451, allocations: 386 kB / 0.7572 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008231/0.546, allocations: 0.7648 MB / 0.758 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.546, allocations: 3.938 kB / 0.758 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.732/2.278, allocations: 55.47 MB / 0.8122 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.278, allocations: 254.1 kB / 0.8124 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/5.644, allocations: 0 / 0.8124 GB, free: 3.539 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)