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.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001441/0.001441, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.621/1.621, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.149/1.149, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 60.72 kB / 0.5049 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1493, allocations: 80.93 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2983/0.4476, allocations: 76.46 MB / 0.6587 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.4677, allocations: 18.73 MB / 0.6769 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.4704, allocations: 99.62 kB / 0.677 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.4732, allocations: 1.079 MB / 0.6781 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.4815, allocations: 3.397 MB / 0.6814 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.486, allocations: 1.916 MB / 0.6833 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007938/0.494, allocations: 6.703 MB / 0.6898 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.4964, allocations: 2.071 MB / 0.6919 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004408/0.5009, allocations: 2.339 MB / 0.6941 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.5028, allocations: 1.817 MB / 0.6959 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.5031, allocations: 201.6 kB / 0.6961 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003393/0.5065, allocations: 1.645 MB / 0.6977 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.507, allocations: 0.5404 MB / 0.6982 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5082, allocations: 1.251 MB / 0.6995 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.5127, allocations: 3.743 MB / 0.7031 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5127, allocations: 0 / 0.7031 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5127, allocations: 0 / 0.7031 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.871e-05/0.5127, allocations: 0 / 0.7031 GB, free: 11.43 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.003937/0.5167, allocations: 2.709 MB / 0.7058 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5167, allocations: 13.69 kB / 0.7058 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/0.517, allocations: 206.7 kB / 0.706 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/0.5176, allocations: 267.1 kB / 0.7062 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.5202, allocations: 1.975 MB / 0.7082 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/0.5203, allocations: 109.5 kB / 0.7083 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.5205, allocations: 139.2 kB / 0.7084 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5229, allocations: 1.518 MB / 0.7099 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.523, allocations: 9.062 kB / 0.7099 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.5231, allocations: 54.59 kB / 0.7099 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.5231, allocations: 44.53 kB / 0.71 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.5251, allocations: 1.129 MB / 0.7111 GB, free: 7.074 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.006772/0.5319, allocations: 7.556 MB / 0.7185 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008731/0.5328, allocations: 484.5 kB / 0.7189 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.5334, allocations: 331.7 kB / 0.7192 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007784/0.5341, allocations: 1.152 MB / 0.7204 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5342, allocations: 46.44 kB / 0.7204 GB, free: 14.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.683e-06/0.5342, allocations: 0 / 0.7204 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.001904/0.5361, allocations: 0.9646 MB / 0.7213 GB, free: 14.03 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.5361, allocations: 57.5 kB / 0.7214 GB, free: 13.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.5379, allocations: 1.755 MB / 0.7231 GB, free: 12.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.538, allocations: 45.23 kB / 0.7232 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.5386, allocations: 0.9334 MB / 0.7241 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.5388, allocations: 226.1 kB / 0.7243 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.5391, allocations: 227.2 kB / 0.7245 GB, free: 11.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5392, allocations: 348.3 kB / 0.7248 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.5398, allocations: 328.1 kB / 0.7251 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.5407, allocations: 0.69 MB / 0.7258 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.5421, allocations: 1.009 MB / 0.7268 GB, free: 9.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5421, allocations: 7.938 kB / 0.7268 GB, free: 9.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001933/0.544, allocations: 1.214 MB / 0.728 GB, free: 8.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5441, allocations: 8 kB / 0.728 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.5441, allocations: 12 kB / 0.728 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.5441, allocations: 16 kB / 0.728 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.545, allocations: 296.1 kB / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.5451, allocations: 23.88 kB / 0.7283 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5463, allocations: 230.4 kB / 0.7286 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.5464, allocations: 55.98 kB / 0.7286 GB, free: 7.883 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.0005197/0.5469, allocations: 441.4 kB / 0.729 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.5472, allocations: 193.6 kB / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.5488, allocations: 0.8669 MB / 0.7301 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.5488, allocations: 4 kB / 0.7301 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5488, allocations: 0 / 0.7301 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/0.55, allocations: 0.7995 MB / 0.7309 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.5535, allocations: 2.439 MB / 0.7332 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5535, allocations: 0 / 0.7332 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.5542, allocations: 175.7 kB / 0.7334 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.5542, allocations: 8.234 kB / 0.7334 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.5543, allocations: 20 kB / 0.7334 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5543, allocations: 4 kB / 0.7334 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5543, allocations: 5.016 kB / 0.7334 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.5564, allocations: 1.343 MB / 0.7347 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.5569, allocations: 362.5 kB / 0.7351 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.5571, allocations: 16 kB / 0.7351 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.5582, allocations: 119.7 kB / 0.7352 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.5583, allocations: 44.44 kB / 0.7353 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.5583, allocations: 43.91 kB / 0.7353 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001373/0.5597, allocations: 1.216 MB / 0.7365 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5597, allocations: 4 kB / 0.7365 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001588/0.5613, allocations: 0.6395 MB / 0.7371 GB, free: 14.94 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.003408/0.5647, allocations: 2.368 MB / 0.7394 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.5664, allocations: 0.89 MB / 0.7403 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5664, allocations: 0 / 0.7403 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006363/0.5671, allocations: 356.2 kB / 0.7406 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/0.5714, allocations: 1.208 MB / 0.7418 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02499/0.5964, allocations: 14.73 MB / 0.7562 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.5973, allocations: 1.405 MB / 0.7576 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001298/0.5986, allocations: 383.8 kB / 0.7579 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000843/0.5994, allocations: 0.7609 MB / 0.7587 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.5994, allocations: 0 / 0.7587 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.185/1.785, allocations: 56.18 MB / 0.8136 GB, free: 144 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/1.785, allocations: 249.8 kB / 0.8138 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.798/6.583, allocations: 0 / 0.8138 GB, free: 15.89 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)