Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_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.0009207/0.0009209, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009591/0.0009592, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.701, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05991/0.7609, allocations: 64.44 MB / 1.017 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.7848, allocations: 16.23 MB / 1.032 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.7883, allocations: 91.38 kB / 1.032 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004278/0.7926, allocations: 1.174 MB / 1.034 GB, free: 14.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.8046, allocations: 3.536 MB / 1.037 GB, free: 10.47 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006869/0.8115, allocations: 2.311 MB / 1.039 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00764/0.8191, allocations: 3.875 MB / 1.043 GB, free: 4.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003265/0.8224, allocations: 1.463 MB / 1.045 GB, free: 2.848 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/0.8267, allocations: 1.639 MB / 1.046 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.8297, allocations: 1.077 MB / 1.047 GB, free: 124 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008586/0.8305, allocations: 76 kB / 1.047 GB, free: 48 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005018/0.8356, allocations: 1.022 MB / 1.048 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.8368, allocations: 366.5 kB / 1.049 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.8381, allocations: 496.5 kB / 1.049 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.8431, allocations: 2.638 MB / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8431, allocations: 0 / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8431, allocations: 0 / 1.052 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000117/0.8432, allocations: 0 / 1.052 GB, free: 11.53 MB / 0.8106 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.00525/0.8485, allocations: 2.318 MB / 1.054 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8485, allocations: 8.031 kB / 1.054 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004662/0.849, allocations: 202.6 kB / 1.054 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/0.8499, allocations: 269 kB / 1.054 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.8537, allocations: 1.771 MB / 1.056 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.8539, allocations: 110.7 kB / 1.056 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/0.8542, allocations: 151.9 kB / 1.056 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.8572, allocations: 1.524 MB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.8573, allocations: 11.89 kB / 1.058 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.8574, allocations: 63.94 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.8575, allocations: 39.98 kB / 1.058 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.8599, allocations: 1.15 MB / 1.059 GB, free: 3.715 MB / 0.8106 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.009501/0.8694, allocations: 7.642 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009545/0.8704, allocations: 0.4889 MB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.8714, allocations: 1.152 MB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.8715, allocations: 43.12 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.8715, allocations: 0 / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59): time 0.002585/0.8741, allocations: 1.02 MB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8742, allocations: 67.84 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.8769, allocations: 1.83 MB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.877, allocations: 41.7 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/0.8779, allocations: 0.9278 MB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.8781, allocations: 224.9 kB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.8782, allocations: 20 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8784, allocations: 349.9 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.8792, allocations: 346.4 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8803, allocations: 0.6977 MB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/0.8812, allocations: 466.7 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.8812, allocations: 3.938 kB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002553/0.8838, allocations: 1.245 MB / 1.075 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.8838, allocations: 9.406 kB / 1.075 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.8839, allocations: 16.09 kB / 1.075 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.8839, allocations: 16 kB / 1.075 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.885, allocations: 319.4 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/0.885, allocations: 23.92 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.8867, allocations: 254.3 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8868, allocations: 55.95 kB / 1.076 GB, free: 1.41 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008198/0.8876, allocations: 433.4 kB / 1.076 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/0.8881, allocations: 193.7 kB / 1.076 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.8901, allocations: 0.9001 MB / 1.077 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.8901, allocations: 11.98 kB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8901, allocations: 4 kB / 1.077 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/0.8915, allocations: 0.8347 MB / 1.078 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005076/0.8966, allocations: 2.513 MB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.8966, allocations: 8.234 kB / 1.081 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/0.8975, allocations: 207.8 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/0.8975, allocations: 11.98 kB / 1.081 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.8976, allocations: 12 kB / 1.081 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.8976, allocations: 11.94 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.8976, allocations: 3.984 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.9003, allocations: 1.552 MB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.9013, allocations: 418.3 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/0.9017, allocations: 12 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.903, allocations: 135.5 kB / 1.083 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.9031, allocations: 52.45 kB / 1.083 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.9032, allocations: 35.97 kB / 1.083 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002141/0.9054, allocations: 1.274 MB / 1.084 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9054, allocations: 0 / 1.084 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002269/0.9077, allocations: 0.659 MB / 1.085 GB, free: 7.848 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004462/0.9121, allocations: 3.085 MB / 1.088 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.914, allocations: 0.8436 MB / 1.089 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.914, allocations: 4 kB / 1.089 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.9148, allocations: 375.8 kB / 1.089 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/0.9211, allocations: 1.193 MB / 1.09 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.9319, allocations: 11.55 MB / 1.102 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.9331, allocations: 1.444 MB / 1.103 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001756/0.9349, allocations: 378.5 kB / 1.103 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.936, allocations: 0.7648 MB / 1.104 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.936, allocations: 0 / 1.104 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08959/1.026, allocations: 56.63 MB / 1.159 GB, free: 11.83 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.026, allocations: 249.7 kB / 1.16 GB, free: 11.58 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.168, allocations: 0 / 1.16 GB, free: 11.58 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat