Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001276, allocations: 104 kB / 16.52 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 196 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7651/0.7651, allocations: 115.3 MB / 406.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.91 kB / 493.6 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3864, allocations: 76.16 MB / 0.5564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6089/0.9953, allocations: 212 MB / 0.7634 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01203/1.007, allocations: 7.143 MB / 0.7704 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/1.01, allocations: 40.84 kB / 0.7704 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002591/1.012, allocations: 0.6569 MB / 0.7711 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007817/1.02, allocations: 2.37 MB / 0.7734 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/1.024, allocations: 1.042 MB / 0.7744 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006448/1.03, allocations: 3.758 MB / 0.7781 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/1.033, allocations: 0.9271 MB / 0.779 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006695/1.04, allocations: 1.787 MB / 0.7807 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/1.045, allocations: 0.9569 MB / 0.7816 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005243/1.045, allocations: 59.06 kB / 0.7817 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007745/1.053, allocations: 2.815 MB / 0.7844 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005375/1.054, allocations: 369 kB / 0.7848 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/1.055, allocations: 0.6332 MB / 0.7854 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/1.057, allocations: 1.825 MB / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.057, allocations: 0 / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/1.057, allocations: 0 / 0.7872 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.033e-05/1.057, allocations: 5.203 kB / 0.7872 GB, free: 1.172 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004623/1.062, allocations: 1.84 MB / 0.789 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.062, allocations: 15.27 kB / 0.789 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/1.065, allocations: 0.5391 MB / 0.7895 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.067, allocations: 0.9591 MB / 0.7905 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005719/1.068, allocations: 178.9 kB / 0.7906 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/1.068, allocations: 86.8 kB / 0.7907 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/1.071, allocations: 1.234 MB / 0.7919 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.071, allocations: 0 / 0.7919 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.071, allocations: 33.05 kB / 0.792 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/1.071, allocations: 49.5 kB / 0.792 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/1.074, allocations: 1.549 MB / 0.7935 GB, free: 15.69 MB / 0.5919 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.006442/1.081, allocations: 4.046 MB / 0.7975 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/1.083, allocations: 0.9923 MB / 0.7984 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/1.085, allocations: 0.6658 MB / 0.7991 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.086, allocations: 0.6083 MB / 0.7997 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.086, allocations: 46.22 kB / 0.7997 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/1.086, allocations: 0 / 0.7997 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.004845/1.091, allocations: 1.823 MB / 0.8015 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/1.091, allocations: 60.47 kB / 0.8016 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.092, allocations: 0.8158 MB / 0.8024 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.092, allocations: 41.27 kB / 0.8024 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/1.093, allocations: 445.3 kB / 0.8028 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/1.093, allocations: 269.7 kB / 0.8031 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/1.093, allocations: 159.8 kB / 0.8032 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.094, allocations: 330.3 kB / 0.8036 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/1.095, allocations: 0.5311 MB / 0.8041 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/1.097, allocations: 0.6486 MB / 0.8047 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.099, allocations: 1.141 MB / 0.8058 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.099, allocations: 0 / 0.8058 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00334/1.103, allocations: 1.344 MB / 0.8071 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/1.103, allocations: 41.22 kB / 0.8072 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.103, allocations: 3.938 kB / 0.8072 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.103, allocations: 1.906 kB / 0.8072 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.104, allocations: 266.1 kB / 0.8074 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007295/1.105, allocations: 1.194 MB / 0.8086 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.106, allocations: 174.2 kB / 0.8088 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/1.107, allocations: 34.5 kB / 0.8088 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001883/1.108, allocations: 0.7632 MB / 0.8095 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00155/1.11, allocations: 0.6484 MB / 0.8102 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002702/1.113, allocations: 1.131 MB / 0.8113 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.599e-06/1.113, allocations: 0 / 0.8113 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.003312/1.116, allocations: 1.329 MB / 0.8126 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/1.116, allocations: 41.75 kB / 0.8126 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.116, allocations: 0 / 0.8126 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.116, allocations: 9.938 kB / 0.8126 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.117, allocations: 224.6 kB / 0.8128 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.117, allocations: 2.688 kB / 0.8128 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.119, allocations: 169.4 kB / 0.813 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.119, allocations: 30.95 kB / 0.813 GB, free: 9.312 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003676/1.119, allocations: 217.9 kB / 0.8132 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/1.12, allocations: 107.7 kB / 0.8134 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/1.123, allocations: 1.373 MB / 0.8147 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.123, allocations: 10.39 kB / 0.8147 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.123, allocations: 7.938 kB / 0.8147 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.123, allocations: 3.984 kB / 0.8147 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/1.129, allocations: 2.852 MB / 0.8175 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.129, allocations: 6.609 kB / 0.8175 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.131, allocations: 232 kB / 0.8177 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/1.131, allocations: 7.969 kB / 0.8177 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.304e-05/1.131, allocations: 20.98 kB / 0.8178 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006347/1.131, allocations: 1.195 MB / 0.8189 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.131, allocations: 4.844 kB / 0.8189 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/1.135, allocations: 1.473 MB / 0.8204 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/1.136, allocations: 307.6 kB / 0.8207 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/1.136, allocations: 16.23 kB / 0.8207 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.137, allocations: 146.2 kB / 0.8208 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.137, allocations: 67.3 kB / 0.8209 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.138, allocations: 35.34 kB / 0.8209 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009511/1.139, allocations: 0.5756 MB / 0.8215 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.01e-07/1.139, allocations: 0 / 0.8215 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001839/1.14, allocations: 0.53 MB / 0.822 GB, free: 5.297 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000741/1.141, allocations: 266.4 kB / 0.8222 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00529/1.146, allocations: 2.036 MB / 0.8242 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.146, allocations: 4 kB / 0.8242 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.148, allocations: 0.6648 MB / 0.8249 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.151, allocations: 0.5182 MB / 0.8254 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/1.156, allocations: 2.562 MB / 0.8279 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/1.157, allocations: 1.086 MB / 0.829 GB, free: 104 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.158, allocations: 106.4 kB / 0.8291 GB, free: 4 kB / 0.5919 GB Notification: Performance of SimCode: time 2.114e-06/1.158, allocations: 0 / 0.8291 GB, free: 4 kB / 0.5919 GB Notification: Performance of Templates: time 0.0374/1.195, allocations: 26.92 MB / 0.8553 GB, free: 5.453 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)