Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.116/2.116, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001412, allocations: 183.1 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001031/0.001031, allocations: 93.97 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.000482, allocations: 16.53 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.468, allocations: 399.6 MB / 1.29 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.468, allocations: 100.7 kB / 1.29 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.271/3.739, allocations: 420.6 MB / 1.7 GB, free: 51.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.234e-06/3.739, allocations: 4 kB / 1.7 GB, free: 51.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001352/3.739, allocations: 31.98 kB / 1.701 GB, free: 51.05 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004325/3.744, allocations: 1.455 MB / 1.702 GB, free: 49.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/3.744, allocations: 8.031 kB / 1.702 GB, free: 49.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006963/3.745, allocations: 135.4 kB / 1.702 GB, free: 49.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03357/3.778, allocations: 11.42 MB / 1.713 GB, free: 37.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/3.778, allocations: 54.38 kB / 1.713 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/3.778, allocations: 76.31 kB / 1.713 GB, free: 37.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/3.78, allocations: 0.7794 MB / 1.714 GB, free: 36.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/3.78, allocations: 3.938 kB / 1.714 GB, free: 36.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/3.781, allocations: 28 kB / 1.714 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/3.781, allocations: 20 kB / 1.714 GB, free: 36.81 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/3.782, allocations: 0.5633 MB / 1.715 GB, free: 36.25 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005633/3.788, allocations: 3.529 MB / 1.718 GB, free: 32.49 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009593/3.789, allocations: 371.5 kB / 1.719 GB, free: 32.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/3.79, allocations: 189.3 kB / 1.719 GB, free: 31.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/3.79, allocations: 0.6687 MB / 1.719 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/3.79, allocations: 42.5 kB / 1.719 GB, free: 31.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.995e-06/3.79, allocations: 0 / 1.719 GB, free: 31.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001937/3.792, allocations: 0.552 MB / 1.72 GB, free: 30.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/3.792, allocations: 59.41 kB / 1.72 GB, free: 30.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/3.794, allocations: 0.9175 MB / 1.721 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/3.794, allocations: 33.7 kB / 1.721 GB, free: 29.44 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/3.794, allocations: 499.7 kB / 1.721 GB, free: 28.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/3.795, allocations: 118.3 kB / 1.721 GB, free: 28.83 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/3.795, allocations: 8 kB / 1.722 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/3.795, allocations: 322 kB / 1.722 GB, free: 28.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/3.795, allocations: 169 kB / 1.722 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/3.796, allocations: 384.9 kB / 1.722 GB, free: 27.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/3.797, allocations: 215.7 kB / 1.723 GB, free: 27.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/3.797, allocations: 7.938 kB / 1.723 GB, free: 27.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001714/3.798, allocations: 0.6014 MB / 1.723 GB, free: 27.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/3.798, allocations: 4 kB / 1.723 GB, free: 27.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/3.798, allocations: 8.438 kB / 1.723 GB, free: 27.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/3.798, allocations: 12 kB / 1.723 GB, free: 27.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/3.799, allocations: 115.8 kB / 1.723 GB, free: 26.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/3.799, allocations: 11.98 kB / 1.723 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/3.8, allocations: 111.2 kB / 1.723 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/3.801, allocations: 27.98 kB / 1.723 GB, free: 26.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005969/3.801, allocations: 273.7 kB / 1.724 GB, free: 26.47 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/3.801, allocations: 102.8 kB / 1.724 GB, free: 26.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/3.803, allocations: 0.5042 MB / 1.724 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/3.803, allocations: 7.984 kB / 1.724 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/3.803, allocations: 0 / 1.724 GB, free: 25.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/3.804, allocations: 481.5 kB / 1.725 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/3.807, allocations: 1.447 MB / 1.726 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/3.807, allocations: 0 / 1.726 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/3.808, allocations: 83.89 kB / 1.726 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/3.808, allocations: 0 / 1.726 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/3.808, allocations: 11.98 kB / 1.726 GB, free: 23.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/3.808, allocations: 8.156 kB / 1.726 GB, free: 23.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/3.808, allocations: 11.94 kB / 1.726 GB, free: 23.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/3.81, allocations: 0.8157 MB / 1.727 GB, free: 22.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/3.81, allocations: 239.8 kB / 1.727 GB, free: 22.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/3.811, allocations: 8 kB / 1.727 GB, free: 22.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/3.812, allocations: 55.94 kB / 1.727 GB, free: 22.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/3.812, allocations: 31.84 kB / 1.727 GB, free: 22.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/3.812, allocations: 19.98 kB / 1.727 GB, free: 22.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001206/3.813, allocations: 0.6391 MB / 1.728 GB, free: 21.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/3.813, allocations: 3.938 kB / 1.728 GB, free: 21.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001587/3.815, allocations: 355.4 kB / 1.728 GB, free: 21.48 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/3.816, allocations: 0.5492 MB / 1.729 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001359/3.817, allocations: 420.8 kB / 1.729 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/3.817, allocations: 0 / 1.729 GB, free: 20.53 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006/3.818, allocations: 203.7 kB / 1.729 GB, free: 20.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/3.823, allocations: 0.6173 MB / 1.73 GB, free: 19.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/3.827, allocations: 1.965 MB / 1.732 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/3.827, allocations: 1.036 MB / 1.733 GB, free: 16.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001292/3.829, allocations: 196.5 kB / 1.733 GB, free: 16.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/3.829, allocations: 83.42 kB / 1.733 GB, free: 16.36 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/3.829, allocations: 0 / 1.733 GB, free: 16.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.8256/4.655, allocations: 22.01 MB / 1.755 GB, free: 186.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)