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.268/2.268, 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.001395/0.001395, allocations: 184.9 kB / 496.1 MB, free: 12.89 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.553/1.553, allocations: 221.3 MB / 0.7915 GB, free: 5.488 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.001053/0.001053, allocations: 95.89 kB / 0.9318 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.037e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3441, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.901/6.245, allocations: 1.902 GB / 3.121 GB, free: 413.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/6.246, allocations: 91.95 kB / 3.121 GB, free: 413.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.88/17.12, allocations: 2.837 GB / 5.957 GB, free: 118 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.885e-06/17.12, allocations: 0 / 5.957 GB, free: 118 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0004515/17.12, allocations: 68.45 kB / 5.958 GB, free: 118 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.01412/17.14, allocations: 3.503 MB / 5.961 GB, free: 116.7 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/17.14, allocations: 8.969 kB / 5.961 GB, free: 116.7 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001296/17.14, allocations: 295.2 kB / 5.961 GB, free: 116.7 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/17.15, allocations: 1.203 MB / 5.962 GB, free: 116.5 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/17.16, allocations: 2.577 MB / 5.965 GB, free: 116.1 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001449/17.16, allocations: 443.6 kB / 5.965 GB, free: 116.1 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/17.16, allocations: 224.1 kB / 5.966 GB, free: 116.1 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009489/17.17, allocations: 2.828 MB / 5.968 GB, free: 115.7 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/17.17, allocations: 6.969 kB / 5.968 GB, free: 115.7 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009049/17.17, allocations: 90.3 kB / 5.968 GB, free: 115.7 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/17.17, allocations: 93.34 kB / 5.969 GB, free: 115.6 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006181/17.18, allocations: 2.65 MB / 5.971 GB, free: 115.6 MB / 1.26 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.02616/17.2, allocations: 14.08 MB / 5.985 GB, free: 108.2 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/17.21, allocations: 1.412 MB / 5.986 GB, free: 108.2 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009846/17.21, allocations: 0.6452 MB / 5.987 GB, free: 108.2 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005571/17.21, allocations: 323.2 kB / 5.987 GB, free: 107.9 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/17.21, allocations: 50.94 kB / 5.987 GB, free: 107.8 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002251/17.21, allocations: 217.7 kB / 5.987 GB, free: 107.8 MB / 1.26 GB Notification: Performance of pre-optimization done (n=110): time 1.585e-05/17.21, allocations: 3.281 kB / 5.987 GB, free: 107.8 MB / 1.26 GB Notification: Performance of matching and sorting (n=110): time 0.003722/17.21, allocations: 1.438 MB / 5.989 GB, free: 107.6 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/17.21, allocations: 68.31 kB / 5.989 GB, free: 107.5 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004797/17.22, allocations: 2.081 MB / 5.991 GB, free: 107.3 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0003544/17.22, allocations: 57.23 kB / 5.991 GB, free: 107.3 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/17.22, allocations: 1.267 MB / 5.992 GB, free: 106.9 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/17.22, allocations: 397.7 kB / 5.993 GB, free: 106.6 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/17.22, allocations: 36.22 kB / 5.993 GB, free: 106.6 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001165/17.22, allocations: 369.2 kB / 5.993 GB, free: 106.3 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/17.22, allocations: 0.7112 MB / 5.994 GB, free: 106.3 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/17.22, allocations: 1.382 MB / 5.995 GB, free: 105.5 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/17.23, allocations: 0.9444 MB / 5.996 GB, free: 105.4 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/17.23, allocations: 8.109 kB / 5.996 GB, free: 105.4 MB / 1.26 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004185/17.23, allocations: 2.319 MB / 5.998 GB, free: 105.2 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.00137/17.23, allocations: 5.778 MB / 6.004 GB, free: 99.09 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/17.23, allocations: 11.19 kB / 6.004 GB, free: 99.09 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.71e-05/17.23, allocations: 30.3 kB / 6.004 GB, free: 99.08 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/17.23, allocations: 0.5697 MB / 6.004 GB, free: 99.08 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/17.24, allocations: 2.389 MB / 6.007 GB, free: 96.74 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00455/17.24, allocations: 464 kB / 6.007 GB, free: 96.71 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/17.24, allocations: 92.27 kB / 6.007 GB, free: 96.71 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/17.24, allocations: 8.875 kB / 6.007 GB, free: 96.71 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003873/17.24, allocations: 2.082 MB / 6.009 GB, free: 96.62 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-05/17.24, allocations: 18.25 kB / 6.009 GB, free: 96.62 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/17.24, allocations: 22.31 kB / 6.009 GB, free: 96.62 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/17.25, allocations: 0.534 MB / 6.01 GB, free: 96.62 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.772e-05/17.25, allocations: 35.42 kB / 6.01 GB, free: 96.61 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/17.25, allocations: 402.1 kB / 6.01 GB, free: 96.58 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/17.25, allocations: 94.25 kB / 6.01 GB, free: 96.58 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 () * 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.0006608/17.25, allocations: 218.7 kB / 6.011 GB, free: 96.47 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009445/17.25, allocations: 258.8 kB / 6.011 GB, free: 96.34 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/17.26, allocations: 1.57 MB / 6.012 GB, free: 96.24 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/17.26, allocations: 12.25 kB / 6.012 GB, free: 96.24 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/17.26, allocations: 3.953 kB / 6.012 GB, free: 96.23 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/17.26, allocations: 7.031 kB / 6.012 GB, free: 96.23 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009959/17.27, allocations: 4.198 MB / 6.017 GB, free: 95.67 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/17.27, allocations: 6.75 kB / 6.017 GB, free: 95.67 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/17.27, allocations: 317.7 kB / 6.017 GB, free: 95.67 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.884e-05/17.27, allocations: 12.25 kB / 6.017 GB, free: 95.67 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/17.27, allocations: 29.05 kB / 6.017 GB, free: 95.67 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008667/17.27, allocations: 2.369 MB / 6.019 GB, free: 93.33 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/17.27, allocations: 8.453 kB / 6.019 GB, free: 93.33 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/17.27, allocations: 2.196 MB / 6.021 GB, free: 92.14 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/17.27, allocations: 0.5366 MB / 6.022 GB, free: 91.92 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/17.28, allocations: 30.05 kB / 6.022 GB, free: 91.92 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/17.28, allocations: 285.5 kB / 6.022 GB, free: 91.91 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/17.28, allocations: 82.42 kB / 6.022 GB, free: 91.89 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/17.28, allocations: 69.14 kB / 6.022 GB, free: 91.89 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.004041/17.28, allocations: 1.591 MB / 6.024 GB, free: 91.73 MB / 1.26 GB Notification: Performance of sort global known variables: time 1.7e-07/17.28, allocations: 0 / 6.024 GB, free: 91.73 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01072/17.29, allocations: 1.929 MB / 6.026 GB, free: 91.6 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 () * 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.01765/17.31, allocations: 11.71 MB / 6.037 GB, free: 84.42 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.008091/17.32, allocations: 3.055 MB / 6.04 GB, free: 84.13 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/17.32, allocations: 0 / 6.04 GB, free: 84.13 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/17.32, allocations: 0.6635 MB / 6.041 GB, free: 84.12 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007974/17.33, allocations: 1.198 MB / 6.042 GB, free: 84.08 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/17.34, allocations: 3.76 MB / 6.046 GB, free: 82.97 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/17.35, allocations: 1.752 MB / 6.047 GB, free: 82.21 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.006365/17.35, allocations: 0.9745 MB / 6.048 GB, free: 82.18 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001599/17.35, allocations: 0.9679 MB / 6.049 GB, free: 82.18 MB / 1.26 GB Notification: Performance of SimCode: time 1.011e-06/17.35, allocations: 0 / 6.049 GB, free: 82.18 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/17.6, allocations: 169.9 MB / 6.215 GB, free: 18.45 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/17.6, allocations: 232.1 kB / 6.215 GB, free: 18.14 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/26.05, allocations: 0 / 6.215 GB, free: 18.14 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