Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2098/0.2139, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7986/1.013, allocations: 214 MB / 0.8796 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.023, allocations: 5.912 MB / 0.8854 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/1.025, allocations: 43.75 kB / 0.8854 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/1.028, allocations: 0.8621 MB / 0.8862 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/1.035, allocations: 2.076 MB / 0.8883 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0049/1.04, allocations: 1.415 MB / 0.8897 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006598/1.046, allocations: 3.287 MB / 0.8929 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/1.048, allocations: 1.224 MB / 0.8941 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006409/1.055, allocations: 2.168 MB / 0.8962 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/1.058, allocations: 1.148 MB / 0.8973 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004271/1.058, allocations: 156 kB / 0.8974 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/1.062, allocations: 1.645 MB / 0.8991 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007225/1.063, allocations: 0.5454 MB / 0.8996 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/1.064, allocations: 0.8401 MB / 0.9004 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004773/1.069, allocations: 2.69 MB / 0.903 GB, free: 12.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.069, allocations: 0 / 0.903 GB, free: 12.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.853e-06/1.069, allocations: 0 / 0.903 GB, free: 12.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.25e-05/1.069, allocations: 7.984 kB / 0.903 GB, free: 12.17 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00533/1.074, allocations: 2.064 MB / 0.9051 GB, free: 10.04 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.074, allocations: 8.031 kB / 0.9051 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/1.077, allocations: 0.5181 MB / 0.9056 GB, free: 9.512 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.079, allocations: 1 MB / 0.9065 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/1.079, allocations: 86.09 kB / 0.9066 GB, free: 8.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/1.079, allocations: 112 kB / 0.9067 GB, free: 8.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/1.083, allocations: 1.551 MB / 0.9082 GB, free: 6.688 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.083, allocations: 4 kB / 0.9083 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.083, allocations: 43.98 kB / 0.9083 GB, free: 6.641 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/1.083, allocations: 58.16 kB / 0.9084 GB, free: 6.582 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/1.088, allocations: 1.808 MB / 0.9101 GB, free: 4.766 MB / 0.67 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.008643/1.096, allocations: 4.988 MB / 0.915 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/1.099, allocations: 1.081 MB / 0.916 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/1.101, allocations: 0.6437 MB / 0.9167 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/1.102, allocations: 262.8 kB / 0.9169 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/1.102, allocations: 47.22 kB / 0.917 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 3.065e-06/1.102, allocations: 0 / 0.917 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.005738/1.107, allocations: 1.914 MB / 0.9188 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.107, allocations: 60.06 kB / 0.9189 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.109, allocations: 0.9644 MB / 0.9198 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/1.109, allocations: 49.7 kB / 0.9199 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/1.11, allocations: 0.5319 MB / 0.9204 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/1.11, allocations: 293.5 kB / 0.9207 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/1.111, allocations: 178.5 kB / 0.9209 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.111, allocations: 337.9 kB / 0.9212 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/1.112, allocations: 0.5942 MB / 0.9218 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/1.114, allocations: 0.7731 MB / 0.9225 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/1.118, allocations: 1.295 MB / 0.9238 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.118, allocations: 0 / 0.9238 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004408/1.122, allocations: 1.545 MB / 0.9253 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/1.122, allocations: 33.7 kB / 0.9253 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.122, allocations: 1.125 kB / 0.9253 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/1.122, allocations: 8 kB / 0.9253 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/1.126, allocations: 0.5852 MB / 0.9259 GB, free: 4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/1.133, allocations: 3.414 MB / 0.9292 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.135, allocations: 195.2 kB / 0.9294 GB, free: 124 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.135, allocations: 31.98 kB / 0.9294 GB, free: 92 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002512/1.138, allocations: 0.8219 MB / 0.9302 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002043/1.14, allocations: 0.7496 MB / 0.931 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003194/1.143, allocations: 1.24 MB / 0.9322 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.16e-05/1.143, allocations: 9.5 kB / 0.9322 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003959/1.147, allocations: 1.482 MB / 0.9336 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/1.147, allocations: 38.31 kB / 0.9337 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.147, allocations: 4.094 kB / 0.9337 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.147, allocations: 11.98 kB / 0.9337 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/1.149, allocations: 275.7 kB / 0.934 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/1.149, allocations: 8 kB / 0.934 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.15, allocations: 155.4 kB / 0.9341 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/1.15, allocations: 35.98 kB / 0.9342 GB, free: 11.14 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (104): * Single equations (assignments): 101 * 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.0003931/1.151, allocations: 236 kB / 0.9344 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/1.151, allocations: 127.2 kB / 0.9345 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/1.155, allocations: 1.426 MB / 0.9359 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.155, allocations: 11.94 kB / 0.9359 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.155, allocations: 0 / 0.9359 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.155, allocations: 7.984 kB / 0.9359 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005807/1.161, allocations: 2.823 MB / 0.9387 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.161, allocations: 4 kB / 0.9387 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/1.164, allocations: 0.5307 MB / 0.9392 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/1.164, allocations: 4 kB / 0.9392 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.164, allocations: 27.91 kB / 0.9392 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004613/1.169, allocations: 3.356 MB / 0.9425 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.169, allocations: 4 kB / 0.9425 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/1.173, allocations: 1.532 MB / 0.944 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/1.174, allocations: 356 kB / 0.9443 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/1.174, allocations: 16 kB / 0.9444 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.175, allocations: 115.9 kB / 0.9445 GB, free: 120 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.176, allocations: 68.36 kB / 0.9445 GB, free: 48 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.176, allocations: 43.97 kB / 0.9446 GB, free: 4 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001358/1.177, allocations: 0.67 MB / 0.9452 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 0 / 0.9452 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002171/1.179, allocations: 0.6552 MB / 0.9459 GB, free: 14.67 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (79): * Single equations (assignments): 77 * 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.0006532/1.18, allocations: 232.8 kB / 0.9461 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008094/1.188, allocations: 2.51 MB / 0.9485 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.188, allocations: 4.125 kB / 0.9485 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005992/1.194, allocations: 1.288 MB / 0.9498 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/1.199, allocations: 0.5943 MB / 0.9504 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/1.205, allocations: 2.312 MB / 0.9526 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.206, allocations: 1.146 MB / 0.9538 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001814/1.208, allocations: 400.8 kB / 0.9541 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/1.208, allocations: 103.4 kB / 0.9542 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/1.208, allocations: 0 / 0.9542 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.0444/1.253, allocations: 25.17 MB / 0.9788 GB, free: 13.04 MB / 0.7481 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)