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.0008958/0.0008958, allocations: 91.77 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.005421/0.005421, allocations: 171.4 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8914/0.8914, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 12 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 82.31 MB / 0.5881 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.2685/0.3966, allocations: 75.27 MB / 0.6616 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.4178, allocations: 18.73 MB / 0.6799 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.4203, allocations: 94.84 kB / 0.68 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.4226, allocations: 1.028 MB / 0.681 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007746/0.4303, allocations: 3.356 MB / 0.6842 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.4345, allocations: 1.905 MB / 0.6861 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009712/0.4442, allocations: 8.878 MB / 0.6948 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.4465, allocations: 1.697 MB / 0.6964 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003227/0.4497, allocations: 1.876 MB / 0.6983 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002143/0.4519, allocations: 1.711 MB / 0.6999 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.4521, allocations: 73.41 kB / 0.7 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.4557, allocations: 1.442 MB / 0.7014 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.4562, allocations: 421 kB / 0.7018 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4573, allocations: 1.119 MB / 0.7029 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.4614, allocations: 3.57 MB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4614, allocations: 0 / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4614, allocations: 1 kB / 0.7064 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.4614, allocations: 0 / 0.7064 GB, free: 12.59 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.003514/0.4649, allocations: 2.3 MB / 0.7086 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.465, allocations: 9.156 kB / 0.7086 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.4652, allocations: 199.3 kB / 0.7088 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.4658, allocations: 279.4 kB / 0.7091 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.4684, allocations: 1.962 MB / 0.711 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.4685, allocations: 105.7 kB / 0.7111 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4687, allocations: 147.2 kB / 0.7113 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.4712, allocations: 1.541 MB / 0.7128 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.4712, allocations: 6.25 kB / 0.7128 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4713, allocations: 57.06 kB / 0.7128 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.4714, allocations: 40.97 kB / 0.7129 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.4735, allocations: 1.167 MB / 0.714 GB, free: 7.516 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.006901/0.4804, allocations: 7.592 MB / 0.7214 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.4813, allocations: 0.4887 MB / 0.7219 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.4819, allocations: 355.4 kB / 0.7222 GB, free: 284 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/0.4827, allocations: 1.146 MB / 0.7234 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.4827, allocations: 41.22 kB / 0.7234 GB, free: 14.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.994e-06/0.4827, allocations: 4 kB / 0.7234 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.001913/0.4846, allocations: 1.029 MB / 0.7244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.4847, allocations: 62.59 kB / 0.7245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.4865, allocations: 1.754 MB / 0.7262 GB, free: 13.36 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.4866, allocations: 39.86 kB / 0.7262 GB, free: 13.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.4872, allocations: 0.9331 MB / 0.7271 GB, free: 12.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.4874, allocations: 218.9 kB / 0.7273 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4875, allocations: 96.62 kB / 0.7274 GB, free: 12.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4877, allocations: 346 kB / 0.7278 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006725/0.4883, allocations: 354 kB / 0.7281 GB, free: 11.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.4893, allocations: 0.7172 MB / 0.7288 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.4908, allocations: 1.048 MB / 0.7298 GB, free: 9.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.4908, allocations: 4 kB / 0.7298 GB, free: 9.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002008/0.4928, allocations: 1.26 MB / 0.7311 GB, free: 8.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4929, allocations: 12 kB / 0.7311 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4929, allocations: 8 kB / 0.7311 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4929, allocations: 20.72 kB / 0.7311 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.4939, allocations: 323.4 kB / 0.7314 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.4939, allocations: 23.92 kB / 0.7314 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.4953, allocations: 252.7 kB / 0.7317 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.4954, allocations: 48 kB / 0.7317 GB, free: 7.645 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.0005612/0.4959, allocations: 445.4 kB / 0.7321 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.4962, allocations: 193.7 kB / 0.7323 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.4978, allocations: 0.9097 MB / 0.7332 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/0.4979, allocations: 15.98 kB / 0.7332 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4979, allocations: 0 / 0.7332 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.4992, allocations: 0.8347 MB / 0.734 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.5027, allocations: 2.482 MB / 0.7365 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5027, allocations: 0 / 0.7365 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000773/0.5035, allocations: 212 kB / 0.7367 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5035, allocations: 4 kB / 0.7367 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.5036, allocations: 23.98 kB / 0.7367 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5036, allocations: 4 kB / 0.7367 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5036, allocations: 7.938 kB / 0.7367 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.5058, allocations: 1.394 MB / 0.7381 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.5063, allocations: 398.3 kB / 0.7384 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.5065, allocations: 23.94 kB / 0.7385 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5076, allocations: 123.7 kB / 0.7386 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5077, allocations: 56.48 kB / 0.7386 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.5077, allocations: 35.92 kB / 0.7387 GB, free: 308 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001403/0.5092, allocations: 1.216 MB / 0.7399 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5092, allocations: 0 / 0.7399 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001491/0.5107, allocations: 0.6395 MB / 0.7405 GB, free: 14.43 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.003315/0.514, allocations: 2.439 MB / 0.7429 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.5155, allocations: 0.8586 MB / 0.7437 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5155, allocations: 4 kB / 0.7437 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.5162, allocations: 376.4 kB / 0.7441 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005767/0.5219, allocations: 1.214 MB / 0.7453 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/0.5471, allocations: 14.91 MB / 0.7598 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/0.548, allocations: 1.405 MB / 0.7612 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001308/0.5493, allocations: 384 kB / 0.7616 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/0.5503, allocations: 0.7609 MB / 0.7623 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.5503, allocations: 0 / 0.7623 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.71/2.26, allocations: 55.49 MB / 0.8165 GB, free: 12 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/2.26, allocations: 244.8 kB / 0.8167 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/5.595, allocations: 3.625 kB / 0.8167 GB, free: 15.76 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)