Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.389/2.389, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 188 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009116, allocations: 87.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.101e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2278, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.338, allocations: 426.9 MB / 1.636 GB, free: 7.531 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.338, allocations: 91.95 kB / 1.636 GB, free: 7.441 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.97/4.307, allocations: 0.8136 GB / 2.449 GB, free: 90.62 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.523e-06/4.307, allocations: 0 / 2.449 GB, free: 90.62 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003602/4.308, allocations: 59.97 kB / 2.449 GB, free: 90.57 MB / 1.135 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.006458/4.314, allocations: 2.172 MB / 2.452 GB, free: 88.34 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/4.314, allocations: 12.03 kB / 2.452 GB, free: 88.32 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00069/4.315, allocations: 194.6 kB / 2.452 GB, free: 88.12 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/4.316, allocations: 270.3 kB / 2.452 GB, free: 87.86 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0496/4.366, allocations: 24.72 MB / 2.476 GB, free: 62.82 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/4.366, allocations: 114.7 kB / 2.476 GB, free: 62.71 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000519/4.367, allocations: 140 kB / 2.476 GB, free: 62.57 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/4.37, allocations: 1.396 MB / 2.478 GB, free: 61.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/4.37, allocations: 7.844 kB / 2.478 GB, free: 61.09 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/4.371, allocations: 63.98 kB / 2.478 GB, free: 61.03 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/4.371, allocations: 36 kB / 2.478 GB, free: 60.99 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/4.373, allocations: 0.955 MB / 2.479 GB, free: 60.03 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.009943/4.383, allocations: 7.564 MB / 2.486 GB, free: 51.89 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/4.384, allocations: 444.7 kB / 2.487 GB, free: 51.44 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/4.384, allocations: 282.5 kB / 2.487 GB, free: 51.16 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007327/4.385, allocations: 1.168 MB / 2.488 GB, free: 49.73 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/4.385, allocations: 39.12 kB / 2.488 GB, free: 49.69 MB / 1.135 GB Notification: Performance of pre-optimization done (n=59): time 3.056e-06/4.385, allocations: 0 / 2.488 GB, free: 49.69 MB / 1.135 GB Notification: Performance of matching and sorting (n=59): time 0.001445/4.386, allocations: 0.6452 MB / 2.489 GB, free: 49.03 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/4.386, allocations: 63.91 kB / 2.489 GB, free: 48.96 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/4.389, allocations: 1.528 MB / 2.49 GB, free: 47.39 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/4.389, allocations: 45.7 kB / 2.49 GB, free: 47.34 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/4.39, allocations: 0.9398 MB / 2.491 GB, free: 46.39 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/4.39, allocations: 212.9 kB / 2.491 GB, free: 46.18 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/4.39, allocations: 20 kB / 2.491 GB, free: 46.16 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/4.39, allocations: 341.9 kB / 2.492 GB, free: 45.82 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/4.39, allocations: 237.9 kB / 2.492 GB, free: 45.59 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/4.391, allocations: 0.6057 MB / 2.493 GB, free: 44.82 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/4.391, allocations: 351 kB / 2.493 GB, free: 44.48 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/4.391, allocations: 4 kB / 2.493 GB, free: 44.47 MB / 1.135 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001604/4.393, allocations: 0.981 MB / 2.494 GB, free: 43.48 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/4.393, allocations: 8 kB / 2.494 GB, free: 43.47 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/4.393, allocations: 12 kB / 2.494 GB, free: 43.46 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/4.393, allocations: 16 kB / 2.494 GB, free: 43.45 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/4.394, allocations: 228.3 kB / 2.494 GB, free: 43.22 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/4.394, allocations: 27.86 kB / 2.494 GB, free: 43.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/4.396, allocations: 246.3 kB / 2.494 GB, free: 42.95 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/4.396, allocations: 47.98 kB / 2.494 GB, free: 42.91 MB / 1.135 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001913/4.396, allocations: 168.6 kB / 2.495 GB, free: 42.73 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/4.396, allocations: 193.7 kB / 2.495 GB, free: 42.54 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/4.398, allocations: 0.7908 MB / 2.496 GB, free: 41.75 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/4.398, allocations: 8 kB / 2.496 GB, free: 41.74 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/4.398, allocations: 0 / 2.496 GB, free: 41.74 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007066/4.398, allocations: 0.702 MB / 2.496 GB, free: 40.98 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/4.402, allocations: 2.381 MB / 2.499 GB, free: 38.51 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/4.402, allocations: 0 / 2.499 GB, free: 38.51 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/4.403, allocations: 180.1 kB / 2.499 GB, free: 38.34 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/4.403, allocations: 7.953 kB / 2.499 GB, free: 38.33 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/4.403, allocations: 19.98 kB / 2.499 GB, free: 38.31 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/4.403, allocations: 7.938 kB / 2.499 GB, free: 38.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/4.403, allocations: 4 kB / 2.499 GB, free: 38.3 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/4.405, allocations: 1.387 MB / 2.5 GB, free: 36.82 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/4.406, allocations: 410.4 kB / 2.501 GB, free: 36.39 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/4.406, allocations: 12 kB / 2.501 GB, free: 36.38 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/4.408, allocations: 131.6 kB / 2.501 GB, free: 36.25 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/4.408, allocations: 52.45 kB / 2.501 GB, free: 36.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/4.408, allocations: 35.97 kB / 2.501 GB, free: 36.17 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001726/4.41, allocations: 1.21 MB / 2.502 GB, free: 34.93 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.8e-07/4.41, allocations: 0 / 2.502 GB, free: 34.93 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002395/4.412, allocations: 0.6981 MB / 2.503 GB, free: 34.23 MB / 1.135 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 () * 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.003758/4.416, allocations: 3.283 MB / 2.506 GB, free: 30.89 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001055/4.417, allocations: 0.6609 MB / 2.506 GB, free: 30.23 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/4.417, allocations: 0.875 kB / 2.506 GB, free: 30.23 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004119/4.417, allocations: 319.2 kB / 2.507 GB, free: 29.91 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00614/4.424, allocations: 1.231 MB / 2.508 GB, free: 28.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006689/4.43, allocations: 2.852 MB / 2.511 GB, free: 25.77 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/4.431, allocations: 1.448 MB / 2.512 GB, free: 24.28 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002043/4.433, allocations: 380.6 kB / 2.513 GB, free: 23.91 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/4.434, allocations: 0.757 MB / 2.513 GB, free: 23.15 MB / 1.135 GB Notification: Performance of SimCode: time 1.212e-06/4.434, allocations: 8 kB / 2.513 GB, free: 23.14 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8229/5.257, allocations: 63.41 MB / 2.575 GB, free: 197.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/5.258, allocations: 210.6 kB / 2.575 GB, free: 197.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/9.386, allocations: 2.688 kB / 2.575 GB, free: 197.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat does not exist to compare? outputFormat=mat