Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") [/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.2141/0.2166, allocations: 80.83 MB / 0.6707 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.00474/0.2214, allocations: 2.357 MB / 0.673 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7967/1.018, allocations: 150.9 MB / 0.8204 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/1.018, allocations: 2.719 kB / 0.8204 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004424/1.019, allocations: 86.78 kB / 0.8205 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008265/1.02, allocations: 239.9 kB / 0.8207 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/1.022, allocations: 0.645 MB / 0.8213 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005368/1.022, allocations: 415.7 kB / 0.8217 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/1.022, allocations: 49.31 kB / 0.8218 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/1.023, allocations: 169.4 kB / 0.8219 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/1.023, allocations: 198.7 kB / 0.8221 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/1.023, allocations: 33.47 kB / 0.8221 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/1.024, allocations: 0.6084 MB / 0.8227 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/1.024, allocations: 89.12 kB / 0.8228 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/1.024, allocations: 158.4 kB / 0.823 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008724/1.025, allocations: 0.6385 MB / 0.8236 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.025, allocations: 0 / 0.8236 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/1.025, allocations: 0 / 0.8236 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.025, allocations: 0 / 0.8236 GB, free: 4.504 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001462/1.027, allocations: 0.7286 MB / 0.8243 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.027, allocations: 8.375 kB / 0.8243 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.028, allocations: 159.8 kB / 0.8245 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/1.029, allocations: 316.9 kB / 0.8248 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.029, allocations: 44.5 kB / 0.8248 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/1.029, allocations: 21.28 kB / 0.8248 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/1.029, allocations: 226.7 kB / 0.825 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.029, allocations: 3.938 kB / 0.8251 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/1.029, allocations: 6.625 kB / 0.8251 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.029, allocations: 3.125 kB / 0.8251 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/1.03, allocations: 114.5 kB / 0.8252 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/1.032, allocations: 1.037 MB / 0.8262 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/1.033, allocations: 155 kB / 0.8263 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/1.033, allocations: 98 kB / 0.8264 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/1.033, allocations: 0 / 0.8264 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/1.033, allocations: 187.7 kB / 0.8266 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/1.033, allocations: 0 / 0.8266 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.003817/1.037, allocations: 0.832 MB / 0.8274 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/1.037, allocations: 84.11 kB / 0.8275 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/1.038, allocations: 344.9 kB / 0.8278 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/1.038, allocations: 32.17 kB / 0.8279 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/1.038, allocations: 156.1 kB / 0.828 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/1.038, allocations: 48.33 kB / 0.8281 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.038, allocations: 86.45 kB / 0.8281 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.038, allocations: 344.5 kB / 0.8285 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/1.039, allocations: 127.6 kB / 0.8286 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/1.039, allocations: 212.7 kB / 0.8288 GB, free: 472 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/1.04, allocations: 330.7 kB / 0.8291 GB, free: 244 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.04, allocations: 3.938 kB / 0.8291 GB, free: 240 kB / 0.5919 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003478/1.043, allocations: 0.8356 MB / 0.8299 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/1.043, allocations: 33.08 kB / 0.83 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.043, allocations: 2.75 kB / 0.83 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/1.044, allocations: 178.4 kB / 0.8301 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.044, allocations: 43.81 kB / 0.8302 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/1.047, allocations: 2.248 MB / 0.8324 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/1.048, allocations: 44.72 kB / 0.8324 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/1.048, allocations: 21.02 kB / 0.8324 GB, free: 13.42 MB / 0.6075 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {6} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002165/1.048, allocations: 187.6 kB / 0.8326 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/1.048, allocations: 30.75 kB / 0.8326 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/1.048, allocations: 26.61 kB / 0.8327 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.048, allocations: 3.938 kB / 0.8327 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.048, allocations: 2.938 kB / 0.8327 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.048, allocations: 7.922 kB / 0.8327 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.051, allocations: 1.009 MB / 0.8337 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.051, allocations: 0 / 0.8337 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/1.051, allocations: 9.188 kB / 0.8337 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000342/1.052, allocations: 103.2 kB / 0.8338 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/1.052, allocations: 16.8 kB / 0.8338 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009574/1.053, allocations: 0.7242 MB / 0.8345 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.053, allocations: 0 / 0.8345 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003164/1.056, allocations: 0.8604 MB / 0.8353 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/1.056, allocations: 133.6 kB / 0.8355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/1.056, allocations: 9.094 kB / 0.8355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/1.056, allocations: 19.48 kB / 0.8355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/1.056, allocations: 8.672 kB / 0.8355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/1.056, allocations: 8.953 kB / 0.8355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003063/1.057, allocations: 239 kB / 0.8357 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/1.057, allocations: 0 / 0.8357 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007278/1.057, allocations: 106.2 kB / 0.8358 GB, free: 10.93 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {6} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000407/1.058, allocations: 186.4 kB / 0.836 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.059, allocations: 0.5508 MB / 0.8365 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.059, allocations: 3.938 kB / 0.8365 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000661/1.06, allocations: 245.9 kB / 0.8368 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/1.06, allocations: 61.8 kB / 0.8368 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/1.063, allocations: 0.7529 MB / 0.8376 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/1.064, allocations: 0.7564 MB / 0.8383 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000147/1.064, allocations: 33.5 kB / 0.8383 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/1.064, allocations: 28.11 kB / 0.8384 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/1.064, allocations: 0 / 0.8384 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.01383/1.078, allocations: 7.174 MB / 0.8454 GB, free: 5.406 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)