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.1866/0.1873, allocations: 82.22 MB / 0.5934 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002898/0.1903, allocations: 1.94 MB / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5781/0.7684, allocations: 127.5 MB / 0.7198 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.7688, allocations: 2.812 kB / 0.7198 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.7692, allocations: 76.73 kB / 0.7198 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008824/0.7701, allocations: 223.3 kB / 0.7201 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.7718, allocations: 0.5105 MB / 0.7205 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.7724, allocations: 259.3 kB / 0.7208 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.7726, allocations: 39.92 kB / 0.7208 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.7728, allocations: 144.9 kB / 0.721 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.7731, allocations: 176.8 kB / 0.7211 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.7731, allocations: 20.19 kB / 0.7212 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.7744, allocations: 0.5134 MB / 0.7217 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.7745, allocations: 68.61 kB / 0.7217 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.7747, allocations: 72.73 kB / 0.7218 GB, free: 16.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007191/0.7754, allocations: 430.6 kB / 0.7222 GB, free: 16.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7754, allocations: 1.156 kB / 0.7222 GB, free: 16.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7755, allocations: 4 kB / 0.7222 GB, free: 16.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7755, allocations: 0 / 0.7222 GB, free: 16.48 MB / 0.545 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.001505/0.777, allocations: 0.6724 MB / 0.7229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.777, allocations: 13.06 kB / 0.7229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.7786, allocations: 154.8 kB / 0.723 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.7791, allocations: 303.7 kB / 0.7233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.7792, allocations: 44.09 kB / 0.7234 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.7793, allocations: 27.78 kB / 0.7234 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.7798, allocations: 215.4 kB / 0.7236 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.7798, allocations: 0 / 0.7236 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.7798, allocations: 10.31 kB / 0.7236 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.7798, allocations: 3.375 kB / 0.7236 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.7801, allocations: 121.3 kB / 0.7237 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.7826, allocations: 1.038 MB / 0.7247 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.7834, allocations: 161.2 kB / 0.7249 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.7834, allocations: 2.641 kB / 0.7249 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.7838, allocations: 185.2 kB / 0.7251 GB, free: 14.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 5.691e-06/0.7838, allocations: 4 kB / 0.7251 GB, free: 14.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.00409/0.7879, allocations: 0.9335 MB / 0.726 GB, free: 14.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.788, allocations: 82.75 kB / 0.7261 GB, free: 14.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.7885, allocations: 340.7 kB / 0.7264 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.7886, allocations: 32.25 kB / 0.7264 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.7887, allocations: 146.3 kB / 0.7266 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.7888, allocations: 60.78 kB / 0.7266 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.7888, allocations: 5.469 kB / 0.7266 GB, free: 14.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.789, allocations: 341.7 kB / 0.7269 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.7894, allocations: 132.5 kB / 0.7271 GB, free: 13.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.7898, allocations: 206.8 kB / 0.7273 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.7902, allocations: 172.7 kB / 0.7274 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7902, allocations: 1.125 kB / 0.7274 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003564/0.7937, allocations: 0.842 MB / 0.7283 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.7938, allocations: 38.52 kB / 0.7283 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7938, allocations: 1.062 kB / 0.7283 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009015/0.7947, allocations: 188.1 kB / 0.7285 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.795, allocations: 38.09 kB / 0.7285 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.7978, allocations: 2.162 MB / 0.7306 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.7984, allocations: 47.88 kB / 0.7307 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.7984, allocations: 19.38 kB / 0.7307 GB, free: 11.74 MB / 0.545 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {6} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003323/0.7988, allocations: 200.7 kB / 0.7309 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.7989, allocations: 30.52 kB / 0.7309 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.799, allocations: 29.73 kB / 0.7309 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-06/0.799, allocations: 4.219 kB / 0.7309 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.799, allocations: 0 / 0.7309 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.799, allocations: 0.5312 kB / 0.7309 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/0.8029, allocations: 1.021 MB / 0.7319 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8029, allocations: 0 / 0.7319 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.8029, allocations: 8.797 kB / 0.7319 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.8033, allocations: 103.1 kB / 0.732 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.8033, allocations: 8.844 kB / 0.7321 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008936/0.8042, allocations: 0.7439 MB / 0.7328 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8042, allocations: 192 / 0.7328 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.8074, allocations: 0.864 MB / 0.7336 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.8076, allocations: 135.1 kB / 0.7338 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.8077, allocations: 3.969 kB / 0.7338 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.808, allocations: 15.27 kB / 0.7338 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.808, allocations: 8.469 kB / 0.7338 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.8081, allocations: 14.86 kB / 0.7338 GB, free: 10.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003578/0.8084, allocations: 241.6 kB / 0.734 GB, free: 10.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8084, allocations: 1.25 kB / 0.734 GB, free: 10.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007318/0.8092, allocations: 106.9 kB / 0.7341 GB, free: 10.14 MB / 0.545 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 (linear and non-linear blocks): 1 * 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: 1 {6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/0.8096, allocations: 180.2 kB / 0.7343 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.8113, allocations: 0.5361 MB / 0.7348 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8113, allocations: 0 / 0.7348 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/0.812, allocations: 252.9 kB / 0.7351 GB, free: 9.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.8125, allocations: 56.81 kB / 0.7351 GB, free: 9.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.8156, allocations: 0.8514 MB / 0.7359 GB, free: 9.379 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.8161, allocations: 0.7671 MB / 0.7367 GB, free: 8.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.8163, allocations: 34.95 kB / 0.7367 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.8164, allocations: 22.42 kB / 0.7368 GB, free: 8.66 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.8164, allocations: 0 / 0.7368 GB, free: 8.66 MB / 0.545 GB Notification: Performance of Templates: time 0.01462/0.831, allocations: 6.384 MB / 0.743 GB, free: 5.672 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: