Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",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.373/2.373, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001998/0.001998, allocations: 176 kB / 0.4901 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.72/1.72, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.00104/0.001041, allocations: 96.27 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 10.12 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.333, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.368, allocations: 1.902 GB / 3.131 GB, free: 58.12 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/5.368, allocations: 102.8 kB / 3.131 GB, free: 58.03 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.73/16.09, allocations: 2.839 GB / 5.97 GB, free: 126.9 MB / 1.26 GB Notification: Performance of FrontEnd: time 3.908e-06/16.09, allocations: 3.188 kB / 5.97 GB, free: 126.9 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0004804/16.09, allocations: 68.47 kB / 5.97 GB, free: 126.9 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01716/16.11, allocations: 3.912 MB / 5.974 GB, free: 125.7 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/16.11, allocations: 10.81 kB / 5.974 GB, free: 125.7 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001547/16.11, allocations: 300.2 kB / 5.974 GB, free: 125.7 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/16.12, allocations: 1.205 MB / 5.976 GB, free: 125.5 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/16.13, allocations: 2.59 MB / 5.978 GB, free: 125.1 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/16.14, allocations: 433.7 kB / 5.978 GB, free: 125.1 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/16.14, allocations: 227.5 kB / 5.979 GB, free: 125.1 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/16.15, allocations: 3.128 MB / 5.982 GB, free: 124.7 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/16.15, allocations: 10.05 kB / 5.982 GB, free: 124.7 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/16.15, allocations: 89.16 kB / 5.982 GB, free: 124.7 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/16.15, allocations: 88.94 kB / 5.982 GB, free: 124.7 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/16.17, allocations: 3.228 MB / 5.985 GB, free: 124.7 MB / 1.26 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.04609/16.21, allocations: 14.07 MB / 5.999 GB, free: 117.3 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007818/16.22, allocations: 1.725 MB / 6.001 GB, free: 117.2 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009563/16.22, allocations: 322.2 kB / 6.001 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.501e-05/16.22, allocations: 56.72 kB / 6.001 GB, free: 116.9 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003339/16.22, allocations: 209.1 kB / 6.001 GB, free: 116.9 MB / 1.26 GB Notification: Performance of pre-optimization done (n=110): time 1.453e-05/16.22, allocations: 0 / 6.001 GB, free: 116.9 MB / 1.26 GB Notification: Performance of matching and sorting (n=110): time 0.01093/16.23, allocations: 2.39 MB / 6.003 GB, free: 116.7 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/16.23, allocations: 70.28 kB / 6.003 GB, free: 116.6 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008379/16.24, allocations: 2.248 MB / 6.006 GB, free: 116.4 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0006645/16.24, allocations: 58.61 kB / 6.006 GB, free: 116.4 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001867/16.25, allocations: 1.268 MB / 6.007 GB, free: 116 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/16.25, allocations: 391.5 kB / 6.007 GB, free: 115.8 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004324/16.25, allocations: 38.19 kB / 6.007 GB, free: 115.8 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002135/16.25, allocations: 370.4 kB / 6.008 GB, free: 115.5 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004595/16.25, allocations: 0.9968 MB / 6.009 GB, free: 115.5 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004882/16.26, allocations: 1.662 MB / 6.01 GB, free: 114.7 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/16.26, allocations: 1.213 MB / 6.012 GB, free: 114.7 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/16.26, allocations: 2.969 kB / 6.012 GB, free: 114.7 MB / 1.26 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01191/16.27, allocations: 2.889 MB / 6.014 GB, free: 114.4 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.002364/16.28, allocations: 5.781 MB / 6.02 GB, free: 108.3 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/16.28, allocations: 14.5 kB / 6.02 GB, free: 108.3 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-05/16.28, allocations: 21.75 kB / 6.02 GB, free: 108.3 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00468/16.28, allocations: 0.5649 MB / 6.021 GB, free: 108.3 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/16.28, allocations: 2.389 MB / 6.023 GB, free: 106 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007209/16.29, allocations: 471.9 kB / 6.023 GB, free: 105.9 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006285/16.29, allocations: 97.86 kB / 6.023 GB, free: 105.9 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/16.29, allocations: 8.438 kB / 6.023 GB, free: 105.9 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009824/16.3, allocations: 2.638 MB / 6.026 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-05/16.3, allocations: 15.47 kB / 6.026 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.624e-05/16.3, allocations: 25.97 kB / 6.026 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/16.3, allocations: 0.532 MB / 6.027 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.87e-05/16.3, allocations: 33.94 kB / 6.027 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005916/16.31, allocations: 404 kB / 6.027 GB, free: 105.8 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003427/16.31, allocations: 92.67 kB / 6.027 GB, free: 105.8 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002296/16.31, allocations: 0.6263 MB / 6.028 GB, free: 105.6 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/16.31, allocations: 264.3 kB / 6.028 GB, free: 105.5 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/16.32, allocations: 1.875 MB / 6.03 GB, free: 105.4 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/16.32, allocations: 13 kB / 6.03 GB, free: 105.4 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/16.32, allocations: 0 / 6.03 GB, free: 105.4 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/16.32, allocations: 10.34 kB / 6.03 GB, free: 105.4 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/16.33, allocations: 4.493 MB / 6.034 GB, free: 104.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/16.33, allocations: 10.27 kB / 6.034 GB, free: 104.8 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/16.33, allocations: 316.9 kB / 6.035 GB, free: 104.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/16.33, allocations: 13.06 kB / 6.035 GB, free: 104.8 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/16.33, allocations: 29 kB / 6.035 GB, free: 104.8 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008488/16.33, allocations: 2.374 MB / 6.037 GB, free: 102.5 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/16.33, allocations: 5.469 kB / 6.037 GB, free: 102.5 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/16.34, allocations: 2.497 MB / 6.039 GB, free: 101.3 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/16.34, allocations: 0.5474 MB / 6.04 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009204/16.34, allocations: 24.59 kB / 6.04 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003351/16.34, allocations: 283.8 kB / 6.04 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/16.34, allocations: 82.64 kB / 6.04 GB, free: 101.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/16.34, allocations: 61.39 kB / 6.04 GB, free: 101.1 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.003845/16.35, allocations: 1.748 MB / 6.042 GB, free: 100.9 MB / 1.26 GB Notification: Performance of sort global known variables: time 2.91e-07/16.35, allocations: 0 / 6.042 GB, free: 100.9 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.008526/16.36, allocations: 1.932 MB / 6.044 GB, free: 100.9 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01632/16.37, allocations: 12.02 MB / 6.056 GB, free: 93.76 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.009884/16.38, allocations: 3.667 MB / 6.059 GB, free: 93.48 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/16.38, allocations: 3.875 kB / 6.059 GB, free: 93.48 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/16.39, allocations: 0.8135 MB / 6.06 GB, free: 93.48 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007384/16.39, allocations: 1.201 MB / 6.061 GB, free: 93.45 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/16.41, allocations: 16.39 MB / 6.077 GB, free: 80.08 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/16.41, allocations: 1.748 MB / 6.079 GB, free: 79.33 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.004935/16.42, allocations: 0.783 MB / 6.08 GB, free: 79.3 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/16.42, allocations: 1.008 MB / 6.081 GB, free: 79.29 MB / 1.26 GB Notification: Performance of SimCode: time 1.202e-06/16.42, allocations: 0 / 6.081 GB, free: 79.29 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2533/16.67, allocations: 151.1 MB / 6.228 GB, free: 72.53 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/16.67, allocations: 264.4 kB / 6.228 GB, free: 72.17 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/25.14, allocations: 0 / 6.228 GB, free: 72.17 MB / 1.26 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat does not exist to compare? outputFormat=mat