Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.498/2.498, allocations: 284.9 MB / 292.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002269/0.002268, allocations: 180.9 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.73 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.546e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8399, allocations: 115.2 MB / 0.9634 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.135/6.975, allocations: 2.094 GB / 3.057 GB, free: 25.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/6.975, allocations: 92.08 kB / 3.057 GB, free: 25.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.7/22.67, allocations: 2.784 GB / 5.841 GB, free: 88.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.766e-06/22.67, allocations: 0 / 5.841 GB, free: 88.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0004001/22.67, allocations: 70.61 kB / 5.841 GB, free: 88.85 MB / 1.042 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.01526/22.69, allocations: 3.497 MB / 5.844 GB, free: 87.45 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/22.69, allocations: 13.25 kB / 5.844 GB, free: 87.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/22.7, allocations: 1.197 MB / 5.845 GB, free: 87.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01188/22.72, allocations: 2.564 MB / 5.848 GB, free: 86.85 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002447/22.72, allocations: 357.6 kB / 5.848 GB, free: 86.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/22.72, allocations: 134.1 kB / 5.848 GB, free: 86.84 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008453/22.73, allocations: 2.433 MB / 5.851 GB, free: 86.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009317/22.74, allocations: 2.38 MB / 5.853 GB, free: 86.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/22.74, allocations: 7.359 kB / 5.853 GB, free: 86.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000636/22.74, allocations: 6.375 kB / 5.853 GB, free: 86.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/22.74, allocations: 84.64 kB / 5.853 GB, free: 86.42 MB / 1.042 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.03697/22.78, allocations: 13.59 MB / 5.867 GB, free: 79.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/22.78, allocations: 1.489 MB / 5.868 GB, free: 78.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/22.78, allocations: 0.6088 MB / 5.869 GB, free: 78.81 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/22.78, allocations: 326.2 kB / 5.869 GB, free: 78.53 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/22.78, allocations: 52.69 kB / 5.869 GB, free: 78.49 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002448/22.79, allocations: 162.1 kB / 5.869 GB, free: 78.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 1.089e-05/22.79, allocations: 0 / 5.869 GB, free: 78.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.00539/22.79, allocations: 1.517 MB / 5.871 GB, free: 78.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/22.79, allocations: 65.41 kB / 5.871 GB, free: 78.18 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003866/22.79, allocations: 1.552 MB / 5.872 GB, free: 77.96 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/22.8, allocations: 38.77 kB / 5.872 GB, free: 77.93 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/22.8, allocations: 1.286 MB / 5.873 GB, free: 77.37 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/22.8, allocations: 382.1 kB / 5.874 GB, free: 77.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/22.8, allocations: 4.906 kB / 5.874 GB, free: 77.12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001381/22.8, allocations: 370 kB / 5.874 GB, free: 76.82 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/22.8, allocations: 0.6734 MB / 5.875 GB, free: 76.81 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/22.8, allocations: 1.32 MB / 5.876 GB, free: 76.05 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/22.81, allocations: 1.163 MB / 5.877 GB, free: 76.03 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-05/22.81, allocations: 3.719 kB / 5.877 GB, free: 76.03 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008194/22.81, allocations: 2.373 MB / 5.88 GB, free: 75.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001308/22.82, allocations: 5.627 MB / 5.885 GB, free: 70 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.958e-05/22.82, allocations: 15.47 kB / 5.885 GB, free: 70 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.119e-05/22.82, allocations: 23.16 kB / 5.885 GB, free: 70 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/22.82, allocations: 0.5684 MB / 5.886 GB, free: 70 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/22.82, allocations: 2.398 MB / 5.888 GB, free: 67.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006905/22.83, allocations: 386.6 kB / 5.888 GB, free: 67.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/22.83, allocations: 96.19 kB / 5.888 GB, free: 67.64 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/22.83, allocations: 4.562 kB / 5.888 GB, free: 67.64 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007741/22.84, allocations: 2.13 MB / 5.891 GB, free: 67.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.517e-05/22.84, allocations: 19.16 kB / 5.891 GB, free: 67.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/22.84, allocations: 25.03 kB / 5.891 GB, free: 67.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/22.84, allocations: 0.5303 MB / 5.891 GB, free: 67.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.255e-05/22.84, allocations: 30.2 kB / 5.891 GB, free: 67.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/22.85, allocations: 311.6 kB / 5.891 GB, free: 67.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006781/22.85, allocations: 96.44 kB / 5.892 GB, free: 67.6 MB / 1.042 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.0007393/22.85, allocations: 168.2 kB / 5.892 GB, free: 67.48 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004494/22.86, allocations: 1.48 MB / 5.893 GB, free: 67.3 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009463/22.86, allocations: 220.8 kB / 5.893 GB, free: 67.19 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005239/22.86, allocations: 1.619 MB / 5.895 GB, free: 67.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/22.86, allocations: 9.469 kB / 5.895 GB, free: 67.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/22.86, allocations: 2.625 kB / 5.895 GB, free: 67.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/22.86, allocations: 7.469 kB / 5.895 GB, free: 67.07 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/22.88, allocations: 3.917 MB / 5.899 GB, free: 66.55 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/22.88, allocations: 9.094 kB / 5.899 GB, free: 66.55 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003368/22.88, allocations: 319.3 kB / 5.899 GB, free: 66.55 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.193e-05/22.88, allocations: 10.81 kB / 5.899 GB, free: 66.55 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/22.88, allocations: 16.08 kB / 5.899 GB, free: 66.55 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/22.88, allocations: 2.368 MB / 5.901 GB, free: 64.21 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/22.88, allocations: 9.562 kB / 5.901 GB, free: 64.21 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/22.89, allocations: 2.209 MB / 5.904 GB, free: 63.13 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/22.89, allocations: 493 kB / 5.904 GB, free: 62.92 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/22.89, allocations: 12.17 kB / 5.904 GB, free: 62.92 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004716/22.89, allocations: 248.1 kB / 5.904 GB, free: 62.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/22.89, allocations: 81.12 kB / 5.904 GB, free: 62.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/22.89, allocations: 63.59 kB / 5.904 GB, free: 62.91 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.002862/22.9, allocations: 1.152 MB / 5.906 GB, free: 62.76 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.52e-07/22.9, allocations: 0 / 5.906 GB, free: 62.76 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.008969/22.91, allocations: 1.72 MB / 5.907 GB, free: 62.59 MB / 1.042 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.0188/22.92, allocations: 12.41 MB / 5.919 GB, free: 55.42 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.007996/22.93, allocations: 2.841 MB / 5.922 GB, free: 55.13 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/22.93, allocations: 2.969 kB / 5.922 GB, free: 55.13 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/22.93, allocations: 0.6246 MB / 5.923 GB, free: 55.13 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006331/22.94, allocations: 0.7276 MB / 5.923 GB, free: 55.1 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/22.96, allocations: 3.57 MB / 5.927 GB, free: 54.01 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/22.96, allocations: 1.755 MB / 5.929 GB, free: 53.25 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.007744/22.97, allocations: 0.8257 MB / 5.929 GB, free: 53.23 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/22.97, allocations: 0.9459 MB / 5.93 GB, free: 53.22 MB / 1.042 GB Notification: Performance of SimCode: time 1.513e-06/22.97, allocations: 0 / 5.93 GB, free: 53.22 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.237/23.21, allocations: 99.55 MB / 6.028 GB, free: 37.67 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/23.21, allocations: 179.4 kB / 6.028 GB, free: 37.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/30.85, allocations: 2.953 kB / 6.028 GB, free: 37.48 MB / 1.042 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)