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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, 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.5443/0.5443, allocations: 90.92 MB / 99.35 MB, free: 2.227 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.573/1.573, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0009934/0.0009937, allocations: 85.91 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.727e-05, allocations: 0 / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1788, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.79/4.968, allocations: 1.848 GB / 2.402 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/4.969, allocations: 83.64 kB / 2.402 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.825/8.794, allocations: 0.998 GB / 3.4 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.046e-06/8.794, allocations: 3.219 kB / 3.4 GB, free: 80.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001108/8.794, allocations: 32.42 kB / 3.4 GB, free: 80.25 MB / 0.6198 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.006456/8.801, allocations: 1.784 MB / 3.402 GB, free: 79.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/8.801, allocations: 9.516 kB / 3.402 GB, free: 79.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/8.804, allocations: 0.5378 MB / 3.402 GB, free: 79.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/8.808, allocations: 1.076 MB / 3.403 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006593/8.808, allocations: 167 kB / 3.403 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/8.808, allocations: 55.92 kB / 3.403 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00195/8.81, allocations: 0.991 MB / 3.404 GB, free: 79.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/8.812, allocations: 1.036 MB / 3.405 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/8.812, allocations: 1.094 kB / 3.405 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/8.812, allocations: 0.5 kB / 3.405 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/8.812, allocations: 43.3 kB / 3.406 GB, free: 79.39 MB / 0.6198 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.007429/8.82, allocations: 4.013 MB / 3.409 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/8.821, allocations: 0.7266 MB / 3.41 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007513/8.822, allocations: 0.4946 MB / 3.411 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/8.823, allocations: 0.6097 MB / 3.411 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/8.823, allocations: 42.27 kB / 3.411 GB, free: 77.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 4.268e-06/8.823, allocations: 1.031 kB / 3.411 GB, free: 77.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.003074/8.826, allocations: 1.137 MB / 3.412 GB, free: 77.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/8.826, allocations: 59.31 kB / 3.412 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/8.827, allocations: 0.562 MB / 3.413 GB, free: 76.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/8.828, allocations: 28.33 kB / 3.413 GB, free: 76.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/8.828, allocations: 453.6 kB / 3.413 GB, free: 76.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/8.828, allocations: 248.8 kB / 3.414 GB, free: 76.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/8.828, allocations: 3.422 kB / 3.414 GB, free: 76.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/8.828, allocations: 338.3 kB / 3.414 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/8.829, allocations: 389.4 kB / 3.414 GB, free: 76.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/8.83, allocations: 0.5269 MB / 3.415 GB, free: 76.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/8.831, allocations: 0.5801 MB / 3.415 GB, free: 76.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/8.831, allocations: 3.562 kB / 3.415 GB, free: 76.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002085/8.833, allocations: 1.179 MB / 3.417 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001424/8.833, allocations: 482.2 kB / 3.417 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/8.833, allocations: 2.438 kB / 3.417 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/8.833, allocations: 8.453 kB / 3.417 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/8.835, allocations: 278.2 kB / 3.417 GB, free: 75.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005119/8.835, allocations: 1.2 MB / 3.419 GB, free: 74.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/8.837, allocations: 168 kB / 3.419 GB, free: 74.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/8.837, allocations: 45.47 kB / 3.419 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/8.837, allocations: 4.094 kB / 3.419 GB, free: 74.46 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002121/8.839, allocations: 1.064 MB / 3.42 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/8.839, allocations: 2.5 kB / 3.42 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/8.839, allocations: 5.031 kB / 3.42 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/8.84, allocations: 260.3 kB / 3.42 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/8.84, allocations: 4.578 kB / 3.42 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/8.842, allocations: 174 kB / 3.42 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/8.842, allocations: 39.67 kB / 3.42 GB, free: 74.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002728/8.842, allocations: 123.5 kB / 3.42 GB, free: 74.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/8.843, allocations: 97.34 kB / 3.42 GB, free: 74.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/8.845, allocations: 1.2 MB / 3.422 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/8.845, allocations: 7.344 kB / 3.422 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/8.845, allocations: 3.797 kB / 3.422 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/8.845, allocations: 7.281 kB / 3.422 GB, free: 74.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/8.85, allocations: 2.573 MB / 3.424 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/8.85, allocations: 3.594 kB / 3.424 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/8.851, allocations: 256.9 kB / 3.424 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-05/8.851, allocations: 7.031 kB / 3.424 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.553e-05/8.851, allocations: 19.44 kB / 3.424 GB, free: 73.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/8.852, allocations: 1.203 MB / 3.426 GB, free: 72.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/8.852, allocations: 7.75 kB / 3.426 GB, free: 72.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/8.854, allocations: 1.486 MB / 3.427 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/8.855, allocations: 306.3 kB / 3.427 GB, free: 71.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/8.855, allocations: 6.469 kB / 3.427 GB, free: 71.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/8.857, allocations: 155.9 kB / 3.427 GB, free: 71.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/8.857, allocations: 64.58 kB / 3.428 GB, free: 71.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.692e-05/8.857, allocations: 43.67 kB / 3.428 GB, free: 71.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007455/8.858, allocations: 439.8 kB / 3.428 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/8.858, allocations: 0 / 3.428 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002893/8.861, allocations: 0.6795 MB / 3.429 GB, free: 71.76 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003755/8.864, allocations: 2.621 MB / 3.431 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002924/8.867, allocations: 1.61 MB / 3.433 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/8.867, allocations: 6.125 kB / 3.433 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008182/8.868, allocations: 0.5163 MB / 3.433 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/8.871, allocations: 425.1 kB / 3.434 GB, free: 70.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/8.884, allocations: 2.323 MB / 3.436 GB, free: 70.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/8.884, allocations: 1.116 MB / 3.437 GB, free: 69.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002467/8.887, allocations: 452 kB / 3.438 GB, free: 69.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/8.887, allocations: 79.8 kB / 3.438 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/8.887, allocations: 0 / 3.438 GB, free: 69.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.04126/8.928, allocations: 31.15 MB / 3.468 GB, free: 68.49 MB / 0.6198 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)