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.366/2.366, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001779/0.001779, allocations: 172.8 kB / 487.4 MB, free: 5.035 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.844/1.844, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 95.91 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.68e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3686, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.476/5.845, allocations: 1.9 GB / 3.106 GB, free: 435 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/5.845, allocations: 90.92 kB / 3.107 GB, free: 435 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.89/16.73, allocations: 2.806 GB / 5.913 GB, free: 123.1 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.355e-06/16.73, allocations: 0 / 5.913 GB, free: 123.1 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.0004699/16.74, allocations: 70.23 kB / 5.913 GB, free: 123.1 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.01483/16.75, allocations: 3.496 MB / 5.916 GB, free: 121.9 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/16.75, allocations: 10.28 kB / 5.916 GB, free: 121.9 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/16.76, allocations: 1.198 MB / 5.918 GB, free: 121.7 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009002/16.77, allocations: 2.575 MB / 5.92 GB, free: 121.3 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/16.77, allocations: 356.4 kB / 5.92 GB, free: 121.3 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/16.77, allocations: 136.8 kB / 5.921 GB, free: 121.3 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006209/16.78, allocations: 2.432 MB / 5.923 GB, free: 121.3 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007412/16.79, allocations: 2.372 MB / 5.925 GB, free: 120.9 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.251e-05/16.79, allocations: 5.562 kB / 5.925 GB, free: 120.9 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006967/16.79, allocations: 3.281 kB / 5.925 GB, free: 120.9 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/16.79, allocations: 89.77 kB / 5.925 GB, free: 120.9 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.02587/16.81, allocations: 13.59 MB / 5.939 GB, free: 113.6 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/16.81, allocations: 1.481 MB / 5.94 GB, free: 113.4 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/16.82, allocations: 0.609 MB / 5.941 GB, free: 113.4 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005644/16.82, allocations: 327.2 kB / 5.941 GB, free: 113.1 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/16.82, allocations: 49.75 kB / 5.941 GB, free: 113 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001941/16.82, allocations: 164.1 kB / 5.941 GB, free: 113 MB / 1.245 GB Notification: Performance of pre-optimization done (n=110): time 6.422e-06/16.82, allocations: 0 / 5.941 GB, free: 113 MB / 1.245 GB Notification: Performance of matching and sorting (n=110): time 0.003597/16.82, allocations: 1.522 MB / 5.943 GB, free: 112.8 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/16.82, allocations: 63.88 kB / 5.943 GB, free: 112.8 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/16.83, allocations: 1.559 MB / 5.944 GB, free: 112.5 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0003079/16.83, allocations: 32.52 kB / 5.944 GB, free: 112.5 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/16.83, allocations: 1.287 MB / 5.946 GB, free: 112.1 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/16.83, allocations: 377.8 kB / 5.946 GB, free: 111.8 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/16.83, allocations: 2.688 kB / 5.946 GB, free: 111.8 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001362/16.83, allocations: 375.4 kB / 5.946 GB, free: 111.5 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/16.83, allocations: 0.6667 MB / 5.947 GB, free: 111.5 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/16.83, allocations: 1.319 MB / 5.948 GB, free: 110.7 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/16.83, allocations: 1.159 MB / 5.949 GB, free: 110.7 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/16.83, allocations: 2.531 kB / 5.949 GB, free: 110.7 MB / 1.245 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005154/16.84, allocations: 2.371 MB / 5.952 GB, free: 110.5 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001384/16.84, allocations: 5.638 MB / 5.957 GB, free: 104.7 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/16.84, allocations: 14.75 kB / 5.957 GB, free: 104.7 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.933e-05/16.84, allocations: 23.41 kB / 5.957 GB, free: 104.7 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/16.84, allocations: 0.5726 MB / 5.958 GB, free: 104.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/16.84, allocations: 2.4 MB / 5.96 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/16.85, allocations: 379.1 kB / 5.961 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/16.85, allocations: 97.17 kB / 5.961 GB, free: 102.3 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/16.85, allocations: 7.094 kB / 5.961 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004599/16.85, allocations: 2.127 MB / 5.963 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/16.85, allocations: 11.62 kB / 5.963 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/16.85, allocations: 23.62 kB / 5.963 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/16.86, allocations: 0.5391 MB / 5.963 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.22e-05/16.86, allocations: 27.11 kB / 5.963 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/16.86, allocations: 317.9 kB / 5.964 GB, free: 102.3 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/16.86, allocations: 92.98 kB / 5.964 GB, free: 102.3 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.000613/16.86, allocations: 165.5 kB / 5.964 GB, free: 102.2 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002917/16.86, allocations: 1.475 MB / 5.965 GB, free: 102 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000687/16.86, allocations: 217.4 kB / 5.965 GB, free: 101.9 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/16.87, allocations: 1.623 MB / 5.967 GB, free: 101.8 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/16.87, allocations: 9 kB / 5.967 GB, free: 101.8 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/16.87, allocations: 5.844 kB / 5.967 GB, free: 101.8 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/16.87, allocations: 7.078 kB / 5.967 GB, free: 101.8 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/16.88, allocations: 3.917 MB / 5.971 GB, free: 101.2 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/16.88, allocations: 3.062 kB / 5.971 GB, free: 101.2 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/16.88, allocations: 318 kB / 5.971 GB, free: 101.2 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/16.88, allocations: 12.16 kB / 5.971 GB, free: 101.2 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-05/16.88, allocations: 21.92 kB / 5.971 GB, free: 101.2 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/16.88, allocations: 2.364 MB / 5.974 GB, free: 98.9 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/16.88, allocations: 10.16 kB / 5.974 GB, free: 98.9 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/16.88, allocations: 2.207 MB / 5.976 GB, free: 97.82 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/16.88, allocations: 499.1 kB / 5.976 GB, free: 97.61 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007466/16.88, allocations: 11.12 kB / 5.976 GB, free: 97.61 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/16.89, allocations: 251.9 kB / 5.976 GB, free: 97.59 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/16.89, allocations: 86.83 kB / 5.977 GB, free: 97.59 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/16.89, allocations: 62.3 kB / 5.977 GB, free: 97.59 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.002745/16.89, allocations: 1.152 MB / 5.978 GB, free: 97.44 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.81e-07/16.89, allocations: 1.312 kB / 5.978 GB, free: 97.44 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.007929/16.9, allocations: 1.722 MB / 5.979 GB, free: 97.27 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.01977/16.92, allocations: 12.39 MB / 5.991 GB, free: 90.07 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.009294/16.93, allocations: 2.852 MB / 5.994 GB, free: 89.79 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.985e-05/16.93, allocations: 3.406 kB / 5.994 GB, free: 89.79 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/16.93, allocations: 0.6222 MB / 5.995 GB, free: 89.79 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/16.93, allocations: 0.7345 MB / 5.996 GB, free: 89.76 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/16.95, allocations: 3.574 MB / 5.999 GB, free: 88.65 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/16.95, allocations: 1.752 MB / 6.001 GB, free: 87.9 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.005653/16.95, allocations: 0.8166 MB / 6.002 GB, free: 87.88 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/16.96, allocations: 0.9472 MB / 6.003 GB, free: 87.87 MB / 1.245 GB Notification: Performance of SimCode: time 2.194e-06/16.96, allocations: 1.719 kB / 6.003 GB, free: 87.87 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/17.13, allocations: 99.6 MB / 6.1 GB, free: 81.96 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/17.13, allocations: 176 kB / 6.1 GB, free: 81.77 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.1/23.23, allocations: 0 / 6.1 GB, free: 81.77 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