Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.001299, allocations: 184.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009795/0.000979, allocations: 96.73 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.253e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.65/5.881, allocations: 2.213 GB / 3.098 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/5.882, allocations: 87.95 kB / 3.098 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.95/16.84, allocations: 2.693 GB / 5.792 GB, free: 86.11 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.345e-06/16.84, allocations: 2.062 kB / 5.792 GB, free: 86.11 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003107/16.84, allocations: 72.97 kB / 5.792 GB, free: 86.11 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.01242/16.85, allocations: 3.476 MB / 5.795 GB, free: 84.84 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/16.85, allocations: 10.19 kB / 5.795 GB, free: 84.84 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009679/16.86, allocations: 1.193 MB / 5.797 GB, free: 84.68 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009133/16.87, allocations: 2.563 MB / 5.799 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001418/16.87, allocations: 357.4 kB / 5.799 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/16.87, allocations: 138 kB / 5.8 GB, free: 84.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006171/16.88, allocations: 2.433 MB / 5.802 GB, free: 84.28 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/16.88, allocations: 2.389 MB / 5.804 GB, free: 83.88 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/16.88, allocations: 7.219 kB / 5.804 GB, free: 83.88 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/16.88, allocations: 3.438 kB / 5.804 GB, free: 83.88 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/16.88, allocations: 94.33 kB / 5.804 GB, free: 83.87 MB / 0.9792 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.02068/16.9, allocations: 13.56 MB / 5.818 GB, free: 76.57 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/16.9, allocations: 1.487 MB / 5.819 GB, free: 76.35 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/16.91, allocations: 0.6052 MB / 5.82 GB, free: 76.34 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/16.91, allocations: 320 kB / 5.82 GB, free: 76.06 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/16.91, allocations: 54.27 kB / 5.82 GB, free: 76.02 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001531/16.91, allocations: 165.3 kB / 5.82 GB, free: 75.99 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 4.048e-06/16.91, allocations: 1.781 kB / 5.82 GB, free: 75.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.002716/16.91, allocations: 1.504 MB / 5.822 GB, free: 75.82 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/16.91, allocations: 63.66 kB / 5.822 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/16.91, allocations: 1.525 MB / 5.823 GB, free: 75.54 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/16.91, allocations: 37.84 kB / 5.823 GB, free: 75.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/16.91, allocations: 1.268 MB / 5.824 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/16.91, allocations: 373.8 kB / 5.825 GB, free: 74.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/16.91, allocations: 1.875 kB / 5.825 GB, free: 74.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000106/16.91, allocations: 372.1 kB / 5.825 GB, free: 74.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/16.92, allocations: 0.667 MB / 5.826 GB, free: 74.39 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/16.92, allocations: 1.263 MB / 5.827 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/16.92, allocations: 1.143 MB / 5.828 GB, free: 73.67 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/16.92, allocations: 3.219 kB / 5.828 GB, free: 73.67 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004788/16.92, allocations: 2.361 MB / 5.83 GB, free: 73.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001257/16.92, allocations: 5.962 MB / 5.836 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/16.92, allocations: 18.67 kB / 5.836 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/16.92, allocations: 24.84 kB / 5.836 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/16.93, allocations: 0.5646 MB / 5.837 GB, free: 67.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009539/16.93, allocations: 2.405 MB / 5.839 GB, free: 64.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/16.93, allocations: 384.8 kB / 5.84 GB, free: 64.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/16.93, allocations: 94.59 kB / 5.84 GB, free: 64.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/16.93, allocations: 4.062 kB / 5.84 GB, free: 64.91 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003767/16.94, allocations: 2.135 MB / 5.842 GB, free: 64.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/16.94, allocations: 14.92 kB / 5.842 GB, free: 64.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/16.94, allocations: 27.73 kB / 5.842 GB, free: 64.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/16.94, allocations: 0.5432 MB / 5.842 GB, free: 64.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/16.94, allocations: 34.64 kB / 5.842 GB, free: 64.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/16.94, allocations: 314.1 kB / 5.843 GB, free: 64.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/16.94, allocations: 97.75 kB / 5.843 GB, free: 64.86 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0005321/16.94, allocations: 157.2 kB / 5.843 GB, free: 64.75 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002443/16.95, allocations: 1.464 MB / 5.844 GB, free: 64.57 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/16.95, allocations: 222.4 kB / 5.845 GB, free: 64.46 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/16.95, allocations: 1.62 MB / 5.846 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/16.95, allocations: 15.56 kB / 5.846 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/16.95, allocations: 0 / 5.846 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/16.95, allocations: 6.375 kB / 5.846 GB, free: 64.36 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/16.95, allocations: 3.92 MB / 5.85 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/16.95, allocations: 12.12 kB / 5.85 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/16.96, allocations: 311.4 kB / 5.85 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/16.96, allocations: 13.53 kB / 5.85 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/16.96, allocations: 17.58 kB / 5.85 GB, free: 63.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007612/16.96, allocations: 2.37 MB / 5.853 GB, free: 61.51 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/16.96, allocations: 10.88 kB / 5.853 GB, free: 61.51 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/16.96, allocations: 2.192 MB / 5.855 GB, free: 60.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/16.96, allocations: 0.4944 MB / 5.855 GB, free: 60.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/16.96, allocations: 15.81 kB / 5.855 GB, free: 60.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/16.96, allocations: 247.7 kB / 5.856 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/16.96, allocations: 83.77 kB / 5.856 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/16.96, allocations: 60.73 kB / 5.856 GB, free: 60.21 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001584/16.97, allocations: 1.132 MB / 5.857 GB, free: 60.07 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.31e-07/16.97, allocations: 0 / 5.857 GB, free: 60.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006343/16.97, allocations: 1.73 MB / 5.858 GB, free: 59.89 MB / 0.9792 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.01453/16.99, allocations: 12.41 MB / 5.871 GB, free: 52.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005303/16.99, allocations: 2.834 MB / 5.873 GB, free: 52.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/16.99, allocations: 3.688 kB / 5.873 GB, free: 52.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/16.99, allocations: 0.6183 MB / 5.874 GB, free: 52.44 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/17, allocations: 0.7268 MB / 5.875 GB, free: 52.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/17.01, allocations: 3.484 MB / 5.878 GB, free: 51.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/17.01, allocations: 1.737 MB / 5.88 GB, free: 50.62 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004211/17.01, allocations: 0.8159 MB / 5.881 GB, free: 50.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/17.01, allocations: 0.9354 MB / 5.881 GB, free: 50.59 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/17.01, allocations: 0 / 5.881 GB, free: 50.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1736/17.19, allocations: 98.61 MB / 5.978 GB, free: 43.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/17.19, allocations: 195.3 kB / 5.978 GB, free: 43.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.645/22.83, allocations: 0 / 5.978 GB, free: 43.7 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)