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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001298/0.001298, allocations: 167.4 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4477/0.4477, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.365/1.365, allocations: 223.2 MB / 348.4 MB, free: 4.973 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.000746/0.0007459, allocations: 99.69 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 71.01 MB / 0.5594 GB, free: 43.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.755/4.047, allocations: 1.847 GB / 2.406 GB, free: 212.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/4.047, allocations: 97.53 kB / 2.406 GB, free: 212.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.004/7.051, allocations: 0.9982 GB / 3.404 GB, free: 81.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/7.051, allocations: 0 / 3.404 GB, free: 81.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.402e-05/7.051, allocations: 29.89 kB / 3.404 GB, free: 81.16 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.004941/7.056, allocations: 1.902 MB / 3.406 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/7.056, allocations: 7.594 kB / 3.406 GB, free: 80.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/7.059, allocations: 0.5397 MB / 3.407 GB, free: 80.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/7.061, allocations: 1.094 MB / 3.408 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/7.062, allocations: 203.2 kB / 3.408 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/7.062, allocations: 84.44 kB / 3.408 GB, free: 79.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/7.064, allocations: 1.354 MB / 3.41 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/7.065, allocations: 3.562 kB / 3.41 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/7.065, allocations: 38.12 kB / 3.41 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/7.065, allocations: 45.45 kB / 3.41 GB, free: 79.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/7.068, allocations: 1.57 MB / 3.411 GB, free: 79.79 MB / 0.6198 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.006321/7.074, allocations: 4.099 MB / 3.415 GB, free: 78.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/7.077, allocations: 1.064 MB / 3.416 GB, free: 78.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/7.078, allocations: 0.6933 MB / 3.417 GB, free: 78.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/7.079, allocations: 0.6065 MB / 3.417 GB, free: 77.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/7.079, allocations: 45.81 kB / 3.418 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=78): time 4.308e-06/7.079, allocations: 3.609 kB / 3.418 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78): time 0.00446/7.083, allocations: 1.922 MB / 3.419 GB, free: 77.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/7.083, allocations: 59.84 kB / 3.419 GB, free: 77.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/7.084, allocations: 0.8113 MB / 3.42 GB, free: 77.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/7.084, allocations: 47.23 kB / 3.42 GB, free: 77.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/7.085, allocations: 450.1 kB / 3.421 GB, free: 77.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/7.085, allocations: 261.2 kB / 3.421 GB, free: 76.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/7.085, allocations: 13.69 kB / 3.421 GB, free: 76.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/7.085, allocations: 341.5 kB / 3.421 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/7.086, allocations: 0.5612 MB / 3.422 GB, free: 76.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/7.088, allocations: 0.7253 MB / 3.423 GB, free: 76.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/7.09, allocations: 1.228 MB / 3.424 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/7.09, allocations: 0 / 3.424 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003071/7.093, allocations: 1.447 MB / 3.425 GB, free: 76.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/7.093, allocations: 158 kB / 3.425 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/7.093, allocations: 0 / 3.425 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/7.093, allocations: 3.375 kB / 3.425 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/7.095, allocations: 293.6 kB / 3.426 GB, free: 76.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/7.095, allocations: 1.193 MB / 3.427 GB, free: 74.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/7.097, allocations: 206 kB / 3.427 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/7.097, allocations: 42.36 kB / 3.427 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/7.097, allocations: 3.25 kB / 3.427 GB, free: 74.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002802/7.1, allocations: 1.337 MB / 3.428 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/7.1, allocations: 2.031 kB / 3.428 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/7.1, allocations: 7.625 kB / 3.428 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/7.101, allocations: 255.8 kB / 3.429 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/7.101, allocations: 12.89 kB / 3.429 GB, free: 74.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/7.102, allocations: 195.6 kB / 3.429 GB, free: 74.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/7.102, allocations: 39.5 kB / 3.429 GB, free: 74.77 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.0006764/7.103, allocations: 382.2 kB / 3.429 GB, free: 74.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/7.103, allocations: 111.1 kB / 3.429 GB, free: 74.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/7.106, allocations: 1.449 MB / 3.431 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/7.106, allocations: 10.72 kB / 3.431 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/7.106, allocations: 0 / 3.431 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/7.106, allocations: 3.047 kB / 3.431 GB, free: 74.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/7.111, allocations: 2.92 MB / 3.434 GB, free: 73.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/7.111, allocations: 7.906 kB / 3.434 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/7.112, allocations: 252.4 kB / 3.434 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/7.112, allocations: 7.781 kB / 3.434 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/7.112, allocations: 30.53 kB / 3.434 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003909/7.113, allocations: 1.19 MB / 3.435 GB, free: 72.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/7.113, allocations: 7 kB / 3.435 GB, free: 72.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/7.116, allocations: 1.551 MB / 3.437 GB, free: 72.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/7.116, allocations: 313.8 kB / 3.437 GB, free: 72.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/7.116, allocations: 19.81 kB / 3.437 GB, free: 72.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/7.117, allocations: 171.7 kB / 3.437 GB, free: 72.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/7.118, allocations: 58.97 kB / 3.437 GB, free: 72.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/7.118, allocations: 47.02 kB / 3.437 GB, free: 72.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007019/7.118, allocations: 0.5616 MB / 3.438 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/7.118, allocations: 0 / 3.438 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002338/7.121, allocations: 0.7646 MB / 3.438 GB, free: 72.15 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * 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.003206/7.124, allocations: 2.353 MB / 3.441 GB, free: 71.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004888/7.129, allocations: 2.162 MB / 3.443 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/7.129, allocations: 5.375 kB / 3.443 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/7.13, allocations: 0.7129 MB / 3.444 GB, free: 71.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/7.133, allocations: 0.5049 MB / 3.444 GB, free: 71.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/7.138, allocations: 2.542 MB / 3.446 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/7.138, allocations: 1.103 MB / 3.448 GB, free: 69.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001705/7.14, allocations: 406.5 kB / 3.448 GB, free: 69.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/7.14, allocations: 95.94 kB / 3.448 GB, free: 69.16 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/7.14, allocations: 0 / 3.448 GB, free: 69.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.05766/7.198, allocations: 46.23 MB / 3.493 GB, free: 34.67 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)