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.5128/0.5151, allocations: 80.81 MB / 0.5904 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.005151/0.5203, allocations: 2.363 MB / 0.5927 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2074/0.7277, allocations: 150.9 MB / 0.7401 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.7282, allocations: 0 / 0.7401 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.7288, allocations: 91.42 kB / 0.7402 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.7298, allocations: 230.6 kB / 0.7404 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.7318, allocations: 0.6482 MB / 0.7411 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.7325, allocations: 414.5 kB / 0.7415 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.7327, allocations: 64.62 kB / 0.7415 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.7329, allocations: 159.5 kB / 0.7417 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.7333, allocations: 207.3 kB / 0.7419 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.7334, allocations: 28 kB / 0.7419 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.7348, allocations: 0.6083 MB / 0.7425 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.7349, allocations: 87.7 kB / 0.7426 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.7351, allocations: 155.2 kB / 0.7427 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.7361, allocations: 0.6233 MB / 0.7433 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7361, allocations: 0 / 0.7433 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7361, allocations: 0 / 0.7433 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.188e-06/0.7361, allocations: 0 / 0.7433 GB, free: 9.648 MB / 0.5762 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.001661/0.7378, allocations: 0.7375 MB / 0.7441 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7378, allocations: 11.97 kB / 0.7441 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.7394, allocations: 155.5 kB / 0.7442 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.74, allocations: 310.1 kB / 0.7445 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.7401, allocations: 49.92 kB / 0.7446 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.7402, allocations: 16 kB / 0.7446 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.7406, allocations: 217.9 kB / 0.7448 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.7407, allocations: 0 / 0.7448 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.7407, allocations: 8 kB / 0.7448 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.7407, allocations: 4 kB / 0.7448 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.741, allocations: 116.1 kB / 0.7449 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.7435, allocations: 1.043 MB / 0.7459 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.7443, allocations: 158.5 kB / 0.7461 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.7445, allocations: 88.83 kB / 0.7462 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.7446, allocations: 12.05 kB / 0.7462 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.745, allocations: 184.9 kB / 0.7464 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.873e-06/0.745, allocations: 0 / 0.7464 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.004028/0.749, allocations: 0.8342 MB / 0.7472 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.7491, allocations: 89.09 kB / 0.7473 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/0.7496, allocations: 336.5 kB / 0.7476 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.7496, allocations: 33.64 kB / 0.7476 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.7498, allocations: 156.7 kB / 0.7478 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.7499, allocations: 55.33 kB / 0.7478 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.7501, allocations: 81.66 kB / 0.7479 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.7503, allocations: 342.8 kB / 0.7482 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.7507, allocations: 131.9 kB / 0.7483 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.7511, allocations: 211.9 kB / 0.7485 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.7518, allocations: 328.3 kB / 0.7489 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7518, allocations: 0 / 0.7489 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003553/0.7554, allocations: 0.8399 MB / 0.7497 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.7554, allocations: 37.69 kB / 0.7497 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7555, allocations: 3.938 kB / 0.7497 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008782/0.7563, allocations: 173.6 kB / 0.7499 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.7566, allocations: 43.91 kB / 0.7499 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.7595, allocations: 2.251 MB / 0.7521 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.76, allocations: 43.73 kB / 0.7522 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.7601, allocations: 15.98 kB / 0.7522 GB, free: 64 kB / 0.5762 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.4329/1.193, allocations: 181.3 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/1.193, allocations: 30 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/1.193, allocations: 30.31 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.193, allocations: 5.719 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.193, allocations: 1.875 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.193, allocations: 1.672 kB / 0.7524 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/1.197, allocations: 1.018 MB / 0.7534 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.197, allocations: 3.141 kB / 0.7534 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/1.197, allocations: 7.328 kB / 0.7534 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003681/1.198, allocations: 104.3 kB / 0.7535 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/1.198, allocations: 9.297 kB / 0.7535 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/1.199, allocations: 0.7335 MB / 0.7542 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.199, allocations: 5.578 kB / 0.7543 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/1.202, allocations: 0.8496 MB / 0.7551 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/1.202, allocations: 127 kB / 0.7552 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/1.202, allocations: 8.062 kB / 0.7552 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.203, allocations: 10.03 kB / 0.7552 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/1.203, allocations: 15.97 kB / 0.7552 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/1.203, allocations: 10.05 kB / 0.7552 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004868/1.203, allocations: 241.3 kB / 0.7555 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.203, allocations: 0 / 0.7555 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007442/1.204, allocations: 111.2 kB / 0.7556 GB, free: 161.3 MB / 0.5762 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.0004979/1.205, allocations: 184 kB / 0.7558 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.206, allocations: 0.5509 MB / 0.7563 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.206, allocations: 0 / 0.7563 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/1.207, allocations: 242.5 kB / 0.7565 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/1.208, allocations: 73.55 kB / 0.7566 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/1.211, allocations: 0.7569 MB / 0.7573 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.212, allocations: 0.7574 MB / 0.7581 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002087/1.212, allocations: 28.5 kB / 0.7581 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/1.212, allocations: 26.81 kB / 0.7581 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/1.212, allocations: 0 / 0.7581 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01775/1.23, allocations: 6.923 MB / 0.7649 GB, free: 157 MB / 0.5762 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)