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.001265/0.001265, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5563/0.5563, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 87.89 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.999e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 72.33 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.115/4.252, allocations: 1.854 GB / 2.407 GB, free: 79.83 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/4.252, allocations: 91.95 kB / 2.407 GB, free: 79.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.23/14.48, allocations: 2.806 GB / 5.214 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/14.48, allocations: 0 / 5.214 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001987/14.48, allocations: 63.98 kB / 5.214 GB, free: 7.199 MB / 0.7136 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.0106/14.49, allocations: 3.497 MB / 5.217 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/14.49, allocations: 8.031 kB / 5.217 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009224/14.5, allocations: 1.196 MB / 5.218 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/14.51, allocations: 2.578 MB / 5.221 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/14.51, allocations: 355.9 kB / 5.221 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/14.51, allocations: 132 kB / 5.221 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004967/14.52, allocations: 2.437 MB / 5.224 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004421/14.52, allocations: 2.379 MB / 5.226 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.246e-05/14.52, allocations: 0 / 5.226 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/14.52, allocations: 4 kB / 5.226 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/14.52, allocations: 92 kB / 5.226 GB, free: 10.21 MB / 0.7292 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.5599/15.08, allocations: 13.57 MB / 5.239 GB, free: 53.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/15.09, allocations: 1.487 MB / 5.241 GB, free: 53.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/15.09, allocations: 0.6065 MB / 5.241 GB, free: 53.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/15.09, allocations: 322.3 kB / 5.242 GB, free: 52.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/15.09, allocations: 54.3 kB / 5.242 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001687/15.09, allocations: 161.3 kB / 5.242 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 9.127e-06/15.09, allocations: 0 / 5.242 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.003708/15.09, allocations: 1.511 MB / 5.243 GB, free: 52.74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/15.09, allocations: 68.3 kB / 5.244 GB, free: 52.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/15.1, allocations: 1.56 MB / 5.245 GB, free: 52.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/15.1, allocations: 31.23 kB / 5.245 GB, free: 52.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/15.1, allocations: 1.297 MB / 5.246 GB, free: 52.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/15.1, allocations: 372.1 kB / 5.247 GB, free: 51.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/15.1, allocations: 2.812 kB / 5.247 GB, free: 51.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001336/15.1, allocations: 374.8 kB / 5.247 GB, free: 51.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/15.1, allocations: 0.6698 MB / 5.248 GB, free: 51.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/15.1, allocations: 1.316 MB / 5.249 GB, free: 50.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002692/15.11, allocations: 1.159 MB / 5.25 GB, free: 50.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.973e-05/15.11, allocations: 3.531 kB / 5.25 GB, free: 50.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005801/15.11, allocations: 2.372 MB / 5.252 GB, free: 50.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/15.11, allocations: 5.631 MB / 5.258 GB, free: 44.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/15.11, allocations: 13.94 kB / 5.258 GB, free: 44.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.307e-05/15.11, allocations: 25.22 kB / 5.258 GB, free: 44.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/15.12, allocations: 0.5715 MB / 5.259 GB, free: 44.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/15.12, allocations: 2.4 MB / 5.261 GB, free: 42.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/15.12, allocations: 383.8 kB / 5.261 GB, free: 42.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/15.12, allocations: 95.03 kB / 5.261 GB, free: 42.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/15.12, allocations: 5.625 kB / 5.261 GB, free: 42.37 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005291/15.13, allocations: 2.13 MB / 5.263 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/15.13, allocations: 16.8 kB / 5.263 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.778e-05/15.13, allocations: 24.41 kB / 5.263 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/15.13, allocations: 0.5326 MB / 5.264 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-05/15.13, allocations: 34.12 kB / 5.264 GB, free: 42.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/15.13, allocations: 320.7 kB / 5.264 GB, free: 42.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/15.13, allocations: 93.34 kB / 5.264 GB, free: 42.32 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 () * 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.0008292/15.13, allocations: 161.5 kB / 5.265 GB, free: 42.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009238/15.13, allocations: 218.5 kB / 5.265 GB, free: 42.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/15.14, allocations: 1.63 MB / 5.266 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/15.14, allocations: 9.766 kB / 5.266 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/15.14, allocations: 0.9688 kB / 5.266 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/15.14, allocations: 8.297 kB / 5.266 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/15.15, allocations: 3.915 MB / 5.27 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/15.15, allocations: 7.312 kB / 5.27 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/15.15, allocations: 317.9 kB / 5.27 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-05/15.15, allocations: 10.28 kB / 5.271 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.535e-05/15.15, allocations: 16.2 kB / 5.271 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007782/15.15, allocations: 2.369 MB / 5.273 GB, free: 39.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/15.15, allocations: 14.59 kB / 5.273 GB, free: 39.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/15.15, allocations: 2.2 MB / 5.275 GB, free: 38.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/15.15, allocations: 0.4893 MB / 5.275 GB, free: 37.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005928/15.15, allocations: 11.28 kB / 5.275 GB, free: 37.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/15.16, allocations: 255.2 kB / 5.276 GB, free: 37.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/15.16, allocations: 80.14 kB / 5.276 GB, free: 37.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/15.16, allocations: 64.95 kB / 5.276 GB, free: 37.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002204/15.16, allocations: 1.146 MB / 5.277 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.81e-07/15.16, allocations: 3.75 kB / 5.277 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007034/15.17, allocations: 1.727 MB / 5.279 GB, free: 37.62 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 () * 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.01268/15.18, allocations: 8.256 MB / 5.287 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007601/15.19, allocations: 2.847 MB / 5.29 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/15.19, allocations: 3.156 kB / 5.29 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/15.19, allocations: 0.6258 MB / 5.29 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/15.19, allocations: 0.7367 MB / 5.291 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/15.2, allocations: 3.089 MB / 5.294 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/15.2, allocations: 1.75 MB / 5.296 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004833/15.21, allocations: 0.8184 MB / 5.296 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/15.21, allocations: 140 kB / 5.297 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of SimCode: time 9.61e-07/15.21, allocations: 0 / 5.297 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.1129/15.32, allocations: 69.71 MB / 5.365 GB, free: 26.64 MB / 0.7292 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)