Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5676/0.5676, allocations: 91.99 MB / 108.5 MB, free: 13.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108.2 kB / 427.4 MB, free: 3.934 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 8 kB / 0.4982 GB, free: 42.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1803, allocations: 72.32 MB / 0.5689 GB, free: 1.934 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.033/5.213, allocations: 1.855 GB / 2.423 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/5.213, allocations: 95.95 kB / 2.423 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 11.34/16.56, allocations: 2.839 GB / 5.262 GB, free: 48.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.2e-06/16.56, allocations: 1.094 kB / 5.262 GB, free: 48.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005855/16.56, allocations: 73.55 kB / 5.262 GB, free: 48.82 MB / 0.7292 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.02042/16.58, allocations: 3.916 MB / 5.266 GB, free: 47.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/16.58, allocations: 14.81 kB / 5.266 GB, free: 47.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/16.59, allocations: 1.195 MB / 5.267 GB, free: 47.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/16.6, allocations: 2.583 MB / 5.27 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001438/16.6, allocations: 440.5 kB / 5.27 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/16.6, allocations: 222.9 kB / 5.27 GB, free: 46.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/16.61, allocations: 3.134 MB / 5.274 GB, free: 46.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/16.61, allocations: 3.219 kB / 5.274 GB, free: 46.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000366/16.61, allocations: 87.97 kB / 5.274 GB, free: 46.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/16.61, allocations: 91.41 kB / 5.274 GB, free: 46.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007883/16.62, allocations: 3.225 MB / 5.277 GB, free: 46.16 MB / 0.7292 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.02892/16.65, allocations: 14.09 MB / 5.291 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/16.65, allocations: 1.714 MB / 5.292 GB, free: 38.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007078/16.66, allocations: 322.5 kB / 5.293 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/16.66, allocations: 53.53 kB / 5.293 GB, free: 38.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002968/16.66, allocations: 217.2 kB / 5.293 GB, free: 38.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 8.406e-06/16.66, allocations: 2.75 kB / 5.293 GB, free: 38.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.006883/16.67, allocations: 2.394 MB / 5.295 GB, free: 38.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/16.67, allocations: 67.7 kB / 5.295 GB, free: 37.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/16.67, allocations: 2.237 MB / 5.297 GB, free: 37.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000567/16.67, allocations: 57.45 kB / 5.297 GB, free: 37.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001315/16.67, allocations: 1.272 MB / 5.299 GB, free: 37.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/16.67, allocations: 388.1 kB / 5.299 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/16.67, allocations: 35.56 kB / 5.299 GB, free: 37.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001906/16.67, allocations: 372 kB / 5.299 GB, free: 36.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002783/16.68, allocations: 0.9944 MB / 5.3 GB, free: 36.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/16.68, allocations: 1.666 MB / 5.302 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/16.68, allocations: 1.209 MB / 5.303 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/16.68, allocations: 5.469 kB / 5.303 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007719/16.69, allocations: 2.886 MB / 5.306 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00231/16.69, allocations: 5.783 MB / 5.312 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/16.69, allocations: 12.56 kB / 5.312 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-05/16.69, allocations: 28.34 kB / 5.312 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/16.7, allocations: 0.5633 MB / 5.312 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/16.7, allocations: 2.394 MB / 5.315 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005089/16.7, allocations: 467.7 kB / 5.315 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/16.7, allocations: 95.39 kB / 5.315 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/16.7, allocations: 3.625 kB / 5.315 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007221/16.71, allocations: 2.646 MB / 5.318 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-05/16.71, allocations: 12.88 kB / 5.318 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.746e-05/16.71, allocations: 28.66 kB / 5.318 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/16.71, allocations: 0.5329 MB / 5.318 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.956e-05/16.71, allocations: 35.45 kB / 5.318 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/16.72, allocations: 403.3 kB / 5.319 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/16.72, allocations: 89.84 kB / 5.319 GB, free: 27.01 MB / 0.7292 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 () * Number of clocked 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.002434/16.72, allocations: 0.6351 MB / 5.319 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/16.72, allocations: 257.7 kB / 5.32 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/16.73, allocations: 1.874 MB / 5.322 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/16.73, allocations: 13.41 kB / 5.322 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/16.73, allocations: 2.406 kB / 5.322 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/16.73, allocations: 5.297 kB / 5.322 GB, free: 26.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/16.74, allocations: 4.493 MB / 5.326 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/16.74, allocations: 4.719 kB / 5.326 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/16.74, allocations: 313.8 kB / 5.326 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.811e-05/16.74, allocations: 15.33 kB / 5.326 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/16.74, allocations: 34.84 kB / 5.326 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/16.74, allocations: 2.367 MB / 5.329 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/16.74, allocations: 9.906 kB / 5.329 GB, free: 23.67 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006234/16.75, allocations: 2.494 MB / 5.331 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/16.75, allocations: 0.546 MB / 5.332 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00129/16.75, allocations: 26.03 kB / 5.332 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/16.76, allocations: 282.8 kB / 5.332 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/16.76, allocations: 80.95 kB / 5.332 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/16.76, allocations: 65.53 kB / 5.332 GB, free: 22.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004984/16.76, allocations: 1.748 MB / 5.334 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.71e-07/16.76, allocations: 0 / 5.334 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0134/16.78, allocations: 1.931 MB / 5.336 GB, free: 21.95 MB / 0.7292 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 () * Number of clocked 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.01783/16.8, allocations: 7.632 MB / 5.343 GB, free: 17.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01154/16.81, allocations: 3.67 MB / 5.347 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/16.81, allocations: 0 / 5.347 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/16.81, allocations: 0.8139 MB / 5.347 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/16.82, allocations: 1.202 MB / 5.349 GB, free: 17.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/16.83, allocations: 5.006 MB / 5.354 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/16.83, allocations: 1.746 MB / 5.355 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005085/16.84, allocations: 0.7882 MB / 5.356 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/16.84, allocations: 195.1 kB / 5.356 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.533e-06/16.84, allocations: 0 / 5.356 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.1899/17.03, allocations: 110.8 MB / 5.464 GB, free: 3.949 MB / 0.7448 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)