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.2187/0.2207, allocations: 80.83 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8237/1.045, allocations: 214 MB / 0.8796 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01011/1.055, allocations: 5.915 MB / 0.8854 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/1.056, allocations: 43.75 kB / 0.8854 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/1.059, allocations: 0.8582 MB / 0.8862 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/1.065, allocations: 2.075 MB / 0.8883 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004093/1.069, allocations: 1.42 MB / 0.8897 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005106/1.074, allocations: 3.275 MB / 0.8929 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/1.076, allocations: 1.235 MB / 0.8941 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00693/1.083, allocations: 2.191 MB / 0.8962 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/1.086, allocations: 1.151 MB / 0.8973 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/1.087, allocations: 156 kB / 0.8975 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/1.09, allocations: 1.645 MB / 0.8991 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007981/1.091, allocations: 0.5454 MB / 0.8996 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/1.092, allocations: 0.8518 MB / 0.9004 GB, free: 14.64 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003785/1.096, allocations: 2.68 MB / 0.9031 GB, free: 11.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.096, allocations: 0 / 0.9031 GB, free: 11.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.783e-06/1.096, allocations: 0 / 0.9031 GB, free: 11.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.202e-05/1.096, allocations: 0 / 0.9031 GB, free: 11.96 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.00505/1.101, allocations: 2.027 MB / 0.905 GB, free: 9.867 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 0.000156/1.101, allocations: 8.031 kB / 0.905 GB, free: 9.859 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/1.104, allocations: 0.5134 MB / 0.9055 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/1.106, allocations: 0.9916 MB / 0.9065 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/1.106, allocations: 78.11 kB / 0.9066 GB, free: 8.227 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.106, allocations: 112 kB / 0.9067 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/1.11, allocations: 1.551 MB / 0.9082 GB, free: 6.535 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.11, allocations: 4 kB / 0.9082 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/1.11, allocations: 43.98 kB / 0.9083 GB, free: 6.488 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/1.11, allocations: 58.16 kB / 0.9083 GB, free: 6.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/1.114, allocations: 1.808 MB / 0.9101 GB, free: 4.613 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.007961/1.122, allocations: 4.978 MB / 0.9149 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/1.126, allocations: 1.076 MB / 0.916 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.127, allocations: 0.6515 MB / 0.9166 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000715/1.128, allocations: 255.7 kB / 0.9169 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.128, allocations: 51.2 kB / 0.9169 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.855e-06/1.128, allocations: 0 / 0.9169 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.00621/1.134, allocations: 1.906 MB / 0.9188 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.134, allocations: 64.06 kB / 0.9188 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.135, allocations: 0.9644 MB / 0.9198 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.136, allocations: 45.7 kB / 0.9198 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/1.136, allocations: 0.527 MB / 0.9203 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/1.136, allocations: 276 kB / 0.9206 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.137, allocations: 178.4 kB / 0.9208 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.137, allocations: 337.9 kB / 0.9211 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.138, allocations: 0.598 MB / 0.9217 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/1.14, allocations: 0.7731 MB / 0.9224 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/1.143, allocations: 1.291 MB / 0.9237 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.143, allocations: 0 / 0.9237 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00397/1.147, allocations: 1.537 MB / 0.9252 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/1.147, allocations: 37.7 kB / 0.9252 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.147, allocations: 0 / 0.9252 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.147, allocations: 8 kB / 0.9252 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/1.151, allocations: 0.5813 MB / 0.9258 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/1.157, allocations: 3.42 MB / 0.9292 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.158, allocations: 190.8 kB / 0.9293 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/1.158, allocations: 36.05 kB / 0.9294 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002099/1.16, allocations: 0.8257 MB / 0.9302 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001699/1.162, allocations: 0.738 MB / 0.9309 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00304/1.165, allocations: 1.244 MB / 0.9321 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/1.165, allocations: 4 kB / 0.9321 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.003815/1.169, allocations: 1.482 MB / 0.9336 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/1.169, allocations: 37.69 kB / 0.9336 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.169, allocations: 4 kB / 0.9336 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/1.169, allocations: 8 kB / 0.9336 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.171, allocations: 279.7 kB / 0.9339 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/1.171, allocations: 8 kB / 0.9339 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.172, allocations: 151.3 kB / 0.934 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/1.172, allocations: 31.98 kB / 0.9341 GB, free: 11.04 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.0003589/1.172, allocations: 243.9 kB / 0.9343 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/1.173, allocations: 122.6 kB / 0.9344 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003905/1.177, allocations: 1.423 MB / 0.9358 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.177, allocations: 8 kB / 0.9358 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.177, allocations: 7.984 kB / 0.9358 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.177, allocations: 4 kB / 0.9358 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/1.183, allocations: 2.807 MB / 0.9386 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.183, allocations: 4 kB / 0.9386 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.186, allocations: 0.527 MB / 0.9391 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.186, allocations: 8 kB / 0.9391 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/1.186, allocations: 27.97 kB / 0.9391 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004698/1.191, allocations: 3.36 MB / 0.9424 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.191, allocations: 4.156 kB / 0.9424 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/1.195, allocations: 1.523 MB / 0.9439 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/1.196, allocations: 351.3 kB / 0.9442 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.196, allocations: 16 kB / 0.9442 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.197, allocations: 119.9 kB / 0.9443 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/1.198, allocations: 64.36 kB / 0.9444 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.198, allocations: 47.95 kB / 0.9445 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001162/1.199, allocations: 0.6661 MB / 0.9451 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/1.199, allocations: 4 kB / 0.9451 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002056/1.201, allocations: 0.651 MB / 0.9457 GB, free: 14.59 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.0006382/1.202, allocations: 229.6 kB / 0.946 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008325/1.21, allocations: 2.51 MB / 0.9484 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.21, allocations: 0 / 0.9484 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006221/1.216, allocations: 1.28 MB / 0.9497 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.22, allocations: 0.6015 MB / 0.9503 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/1.225, allocations: 2.275 MB / 0.9525 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/1.226, allocations: 1.142 MB / 0.9536 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001693/1.228, allocations: 412.8 kB / 0.954 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/1.228, allocations: 99.34 kB / 0.9541 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of SimCode: time 7.32e-07/1.228, allocations: 0 / 0.9541 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Templates: time 0.04257/1.271, allocations: 25.59 MB / 0.9791 GB, free: 12.59 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)