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.2409/0.243, allocations: 80.84 MB / 0.6707 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004442/0.2475, allocations: 2.357 MB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6798/0.9273, allocations: 150.9 MB / 0.8204 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.9277, allocations: 1.375 kB / 0.8204 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.9284, allocations: 94.7 kB / 0.8205 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.9296, allocations: 229 kB / 0.8207 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.9322, allocations: 0.6497 MB / 0.8213 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006524/0.9329, allocations: 410 kB / 0.8217 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.933, allocations: 48.59 kB / 0.8218 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.9333, allocations: 174.9 kB / 0.8219 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.9338, allocations: 195.9 kB / 0.8221 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.142e-05/0.9338, allocations: 28.19 kB / 0.8221 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.9353, allocations: 0.6218 MB / 0.8227 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.9354, allocations: 77.86 kB / 0.8228 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.9356, allocations: 160.2 kB / 0.823 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.9369, allocations: 0.6382 MB / 0.8236 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.9369, allocations: 6.812 kB / 0.8236 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9369, allocations: 3.938 kB / 0.8236 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.9369, allocations: 0 / 0.8236 GB, free: 4.426 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.001784/0.9387, allocations: 0.7383 MB / 0.8243 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.9388, allocations: 8.031 kB / 0.8243 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.9404, allocations: 167.2 kB / 0.8245 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.9411, allocations: 313.4 kB / 0.8248 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/0.9412, allocations: 44.84 kB / 0.8248 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.9413, allocations: 16.91 kB / 0.8249 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.9417, allocations: 222.2 kB / 0.8251 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.9418, allocations: 7.875 kB / 0.8251 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.9418, allocations: 6.844 kB / 0.8251 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.9418, allocations: 2.562 kB / 0.8251 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.9421, allocations: 115.9 kB / 0.8252 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.9447, allocations: 1.032 MB / 0.8262 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.9454, allocations: 154.1 kB / 0.8263 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.9456, allocations: 95.88 kB / 0.8264 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.9457, allocations: 2.938 kB / 0.8264 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.9461, allocations: 197.5 kB / 0.8266 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.9461, allocations: 0 / 0.8266 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.004004/0.9501, allocations: 0.8305 MB / 0.8274 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.9502, allocations: 83.83 kB / 0.8275 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.9507, allocations: 343.8 kB / 0.8278 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.9508, allocations: 32.36 kB / 0.8279 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.9509, allocations: 152.3 kB / 0.828 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.951, allocations: 50.94 kB / 0.8281 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.9512, allocations: 91.03 kB / 0.8282 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002955/0.9515, allocations: 337.7 kB / 0.8285 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.9518, allocations: 134.4 kB / 0.8286 GB, free: 500 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.9522, allocations: 209.8 kB / 0.8288 GB, free: 368 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.953, allocations: 328 kB / 0.8291 GB, free: 144 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.953, allocations: 0 / 0.8291 GB, free: 144 kB / 0.5919 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003522/0.9565, allocations: 0.8381 MB / 0.8299 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.9566, allocations: 37.62 kB / 0.83 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9566, allocations: 3.438 kB / 0.83 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008448/0.9575, allocations: 178.4 kB / 0.8302 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.9577, allocations: 43.19 kB / 0.8302 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.9609, allocations: 2.256 MB / 0.8324 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005724/0.9615, allocations: 45.34 kB / 0.8324 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/0.9616, allocations: 24.83 kB / 0.8325 GB, free: 13.31 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.0003078/0.9619, allocations: 181.8 kB / 0.8326 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.962, allocations: 30.91 kB / 0.8327 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.962, allocations: 37.14 kB / 0.8327 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.9621, allocations: 3.938 kB / 0.8327 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.9621, allocations: 0 / 0.8327 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9621, allocations: 4 kB / 0.8327 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.9654, allocations: 1.012 MB / 0.8337 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9654, allocations: 0 / 0.8337 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.9655, allocations: 5.344 kB / 0.8337 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/0.9658, allocations: 110.2 kB / 0.8338 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.9659, allocations: 8.938 kB / 0.8338 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.967, allocations: 0.7298 MB / 0.8345 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.967, allocations: 1.781 kB / 0.8345 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.9701, allocations: 0.8509 MB / 0.8354 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.9703, allocations: 133 kB / 0.8355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.9704, allocations: 8.734 kB / 0.8355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.9707, allocations: 19.91 kB / 0.8355 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.9707, allocations: 6.547 kB / 0.8355 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.9708, allocations: 15.8 kB / 0.8355 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004488/0.9712, allocations: 237.8 kB / 0.8358 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9713, allocations: 0 / 0.8358 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006417/0.9719, allocations: 106.5 kB / 0.8359 GB, free: 10.83 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.0006482/0.9726, allocations: 183.6 kB / 0.836 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.9745, allocations: 0.5504 MB / 0.8366 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9745, allocations: 0 / 0.8366 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.9753, allocations: 242.2 kB / 0.8368 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.9758, allocations: 63.06 kB / 0.8369 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.979, allocations: 0.7706 MB / 0.8376 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.9795, allocations: 0.7598 MB / 0.8384 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002581/0.9798, allocations: 29.36 kB / 0.8384 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.9799, allocations: 24.45 kB / 0.8384 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of SimCode: time 1.603e-06/0.9799, allocations: 3.938 kB / 0.8384 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.01727/0.9972, allocations: 6.977 MB / 0.8452 GB, free: 5.438 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)