Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001473/0.001472, allocations: 176.9 kB / 492.3 MB, free: 0.5938 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.671/1.671, allocations: 221.3 MB / 0.7871 GB, free: 12.84 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.001115/0.001114, allocations: 91.94 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.087e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 142.3 MB / 1.212 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.417/5.743, allocations: 1.901 GB / 3.114 GB, free: 427.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/5.743, allocations: 88.06 kB / 3.114 GB, free: 427.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.9/16.64, allocations: 2.837 GB / 5.95 GB, free: 109.7 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.123e-06/16.64, allocations: 5.188 kB / 5.95 GB, free: 109.7 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0003635/16.64, allocations: 66.5 kB / 5.95 GB, free: 109.7 MB / 1.245 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.01188/16.66, allocations: 3.501 MB / 5.954 GB, free: 108.4 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/16.66, allocations: 7.156 kB / 5.954 GB, free: 108.4 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00107/16.66, allocations: 297.8 kB / 5.954 GB, free: 108.3 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009978/16.67, allocations: 1.203 MB / 5.955 GB, free: 108.2 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008312/16.68, allocations: 2.574 MB / 5.958 GB, free: 107.8 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/16.68, allocations: 436.2 kB / 5.958 GB, free: 107.8 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008195/16.68, allocations: 225.7 kB / 5.958 GB, free: 107.8 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005435/16.68, allocations: 2.831 MB / 5.961 GB, free: 107.3 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/16.68, allocations: 2.625 kB / 5.961 GB, free: 107.3 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/16.68, allocations: 92.5 kB / 5.961 GB, free: 107.3 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.023e-05/16.68, allocations: 88.06 kB / 5.961 GB, free: 107.3 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/16.69, allocations: 2.649 MB / 5.964 GB, free: 107.3 MB / 1.245 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.02299/16.71, allocations: 14.08 MB / 5.978 GB, free: 99.9 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/16.71, allocations: 1.418 MB / 5.979 GB, free: 99.86 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/16.71, allocations: 0.6399 MB / 5.98 GB, free: 99.86 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/16.72, allocations: 328.2 kB / 5.98 GB, free: 99.57 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/16.72, allocations: 57.72 kB / 5.98 GB, free: 99.53 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00172/16.72, allocations: 212.7 kB / 5.98 GB, free: 99.48 MB / 1.245 GB Notification: Performance of pre-optimization done (n=110): time 5.56e-06/16.72, allocations: 0 / 5.98 GB, free: 99.48 MB / 1.245 GB Notification: Performance of matching and sorting (n=110): time 0.002765/16.72, allocations: 1.438 MB / 5.982 GB, free: 99.3 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/16.72, allocations: 64.44 kB / 5.982 GB, free: 99.23 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/16.72, allocations: 2.086 MB / 5.984 GB, free: 99 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0002564/16.72, allocations: 57.55 kB / 5.984 GB, free: 98.96 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008769/16.72, allocations: 1.272 MB / 5.985 GB, free: 98.52 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/16.72, allocations: 389.2 kB / 5.985 GB, free: 98.28 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/16.72, allocations: 36.25 kB / 5.985 GB, free: 98.28 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001118/16.73, allocations: 371 kB / 5.986 GB, free: 97.97 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/16.73, allocations: 0.7096 MB / 5.987 GB, free: 97.97 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/16.73, allocations: 1.383 MB / 5.988 GB, free: 97.2 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/16.73, allocations: 0.9431 MB / 5.989 GB, free: 97.12 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/16.73, allocations: 10.89 kB / 5.989 GB, free: 97.11 MB / 1.245 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0041/16.73, allocations: 2.315 MB / 5.991 GB, free: 96.86 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001474/16.73, allocations: 5.775 MB / 5.997 GB, free: 90.76 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/16.73, allocations: 12.84 kB / 5.997 GB, free: 90.76 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-05/16.73, allocations: 28.77 kB / 5.997 GB, free: 90.76 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/16.74, allocations: 0.563 MB / 5.997 GB, free: 90.76 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009856/16.74, allocations: 2.39 MB / 6 GB, free: 88.42 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005012/16.74, allocations: 467.2 kB / 6 GB, free: 88.38 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004667/16.74, allocations: 96.45 kB / 6 GB, free: 88.38 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/16.74, allocations: 8.734 kB / 6 GB, free: 88.38 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003905/16.75, allocations: 2.087 MB / 6.002 GB, free: 88.29 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/16.75, allocations: 14.94 kB / 6.002 GB, free: 88.29 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/16.75, allocations: 27.03 kB / 6.002 GB, free: 88.29 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/16.75, allocations: 0.5275 MB / 6.003 GB, free: 88.29 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.691e-05/16.75, allocations: 40.31 kB / 6.003 GB, free: 88.29 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/16.75, allocations: 393.9 kB / 6.003 GB, free: 88.26 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/16.76, allocations: 94.39 kB / 6.003 GB, free: 88.26 MB / 1.245 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.0007688/16.76, allocations: 223.2 kB / 6.004 GB, free: 88.14 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009014/16.76, allocations: 259.3 kB / 6.004 GB, free: 88.01 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/16.76, allocations: 1.575 MB / 6.005 GB, free: 87.9 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/16.76, allocations: 12.69 kB / 6.005 GB, free: 87.9 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/16.76, allocations: 7.297 kB / 6.005 GB, free: 87.9 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/16.76, allocations: 3.609 kB / 6.005 GB, free: 87.9 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008783/16.77, allocations: 4.187 MB / 6.009 GB, free: 87.34 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/16.77, allocations: 5.688 kB / 6.009 GB, free: 87.34 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/16.77, allocations: 319.8 kB / 6.01 GB, free: 87.34 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.417e-05/16.77, allocations: 11.41 kB / 6.01 GB, free: 87.34 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/16.77, allocations: 27.72 kB / 6.01 GB, free: 87.34 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008034/16.77, allocations: 2.367 MB / 6.012 GB, free: 85 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/16.77, allocations: 10.53 kB / 6.012 GB, free: 85 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/16.77, allocations: 2.202 MB / 6.014 GB, free: 83.81 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/16.78, allocations: 0.5415 MB / 6.015 GB, free: 83.58 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/16.78, allocations: 25.66 kB / 6.015 GB, free: 83.58 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/16.78, allocations: 283.3 kB / 6.015 GB, free: 83.57 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/16.78, allocations: 85.78 kB / 6.015 GB, free: 83.56 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/16.78, allocations: 63.86 kB / 6.015 GB, free: 83.56 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.002564/16.78, allocations: 1.596 MB / 6.017 GB, free: 83.4 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.764e-06/16.78, allocations: 0 / 6.017 GB, free: 83.4 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.008379/16.79, allocations: 1.934 MB / 6.019 GB, free: 83.26 MB / 1.245 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.01581/16.81, allocations: 11.71 MB / 6.03 GB, free: 76.09 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.006172/16.81, allocations: 3.052 MB / 6.033 GB, free: 75.79 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/16.81, allocations: 1.906 kB / 6.033 GB, free: 75.79 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/16.81, allocations: 0.6661 MB / 6.034 GB, free: 75.79 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006452/16.82, allocations: 1.198 MB / 6.035 GB, free: 75.75 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/16.83, allocations: 3.746 MB / 6.039 GB, free: 74.65 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/16.83, allocations: 1.753 MB / 6.04 GB, free: 73.89 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.004497/16.83, allocations: 0.9715 MB / 6.041 GB, free: 73.86 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/16.84, allocations: 0.97 MB / 6.042 GB, free: 73.86 MB / 1.245 GB Notification: Performance of SimCode: time 8.31e-07/16.84, allocations: 1.422 kB / 6.042 GB, free: 73.86 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2396/17.08, allocations: 169.9 MB / 6.208 GB, free: 1.914 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/17.08, allocations: 229.4 kB / 6.208 GB, free: 1.648 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.189/26.26, allocations: 4 kB / 6.208 GB, free: 1.645 MB / 1.245 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger_res.mat does not exist to compare? outputFormat=mat