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.1938/0.1946, allocations: 82.21 MB / 0.5941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002859/0.1975, allocations: 2.054 MB / 0.5961 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5786/0.7762, allocations: 147.1 MB / 0.7398 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.7765, allocations: 1.094 kB / 0.7398 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.777, allocations: 88.69 kB / 0.7398 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.778, allocations: 198.8 kB / 0.74 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.7804, allocations: 0.5813 MB / 0.7406 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007926/0.7812, allocations: 387 kB / 0.741 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.7813, allocations: 52.72 kB / 0.741 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.7816, allocations: 147.8 kB / 0.7412 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003487/0.782, allocations: 179.8 kB / 0.7413 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.7821, allocations: 16.59 kB / 0.7414 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.7836, allocations: 0.6623 MB / 0.742 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.7837, allocations: 68.72 kB / 0.7421 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.7839, allocations: 166.8 kB / 0.7422 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.7849, allocations: 0.6377 MB / 0.7428 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7849, allocations: 0 / 0.7428 GB, free: 14.81 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7849, allocations: 0 / 0.7428 GB, free: 14.81 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7849, allocations: 1.219 kB / 0.7428 GB, free: 14.81 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.001455/0.7864, allocations: 0.6653 MB / 0.7435 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.7865, allocations: 8.656 kB / 0.7435 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.788, allocations: 160 kB / 0.7437 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.7885, allocations: 321.1 kB / 0.744 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.7886, allocations: 45.62 kB / 0.744 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.7886, allocations: 20.53 kB / 0.744 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/0.7891, allocations: 212.9 kB / 0.7442 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.7891, allocations: 5.172 kB / 0.7442 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.7892, allocations: 8.594 kB / 0.7442 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7892, allocations: 7.594 kB / 0.7443 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.7895, allocations: 119.3 kB / 0.7444 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.7918, allocations: 1.043 MB / 0.7454 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.7926, allocations: 156.8 kB / 0.7455 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.7928, allocations: 95.09 kB / 0.7456 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.7929, allocations: 5.156 kB / 0.7456 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.7933, allocations: 190 kB / 0.7458 GB, free: 13.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.7933, allocations: 0 / 0.7458 GB, free: 13.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.004065/0.7974, allocations: 0.8538 MB / 0.7466 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.7975, allocations: 83.14 kB / 0.7467 GB, free: 12.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.798, allocations: 349 kB / 0.7471 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.798, allocations: 32.42 kB / 0.7471 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.7982, allocations: 152.5 kB / 0.7472 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.7982, allocations: 50.27 kB / 0.7473 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.7983, allocations: 40.8 kB / 0.7473 GB, free: 12.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7985, allocations: 345 kB / 0.7476 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.7988, allocations: 131.7 kB / 0.7478 GB, free: 12.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.7992, allocations: 214.6 kB / 0.748 GB, free: 12.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.7999, allocations: 334.7 kB / 0.7483 GB, free: 11.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7999, allocations: 0 / 0.7483 GB, free: 11.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003753/0.8037, allocations: 0.8475 MB / 0.7491 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.8037, allocations: 39.02 kB / 0.7492 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.8038, allocations: 5.391 kB / 0.7492 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/0.8047, allocations: 178.4 kB / 0.7493 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.8049, allocations: 47.22 kB / 0.7494 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.8077, allocations: 2.15 MB / 0.7515 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.8083, allocations: 40.98 kB / 0.7515 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.8083, allocations: 27.47 kB / 0.7515 GB, free: 9.547 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 ($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.0002958/0.8086, allocations: 188.5 kB / 0.7517 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.8087, allocations: 34.22 kB / 0.7518 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.8088, allocations: 26.64 kB / 0.7518 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8088, allocations: 1.156 kB / 0.7518 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8088, allocations: 1.219 kB / 0.7518 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8088, allocations: 0 / 0.7518 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.8121, allocations: 1.029 MB / 0.7528 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8121, allocations: 0 / 0.7528 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.8122, allocations: 6.156 kB / 0.7528 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.8125, allocations: 119.7 kB / 0.7529 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.8125, allocations: 14.2 kB / 0.7529 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009029/0.8134, allocations: 0.7305 MB / 0.7536 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.8135, allocations: 3.25 kB / 0.7536 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.8172, allocations: 0.8644 MB / 0.7545 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.8174, allocations: 127.6 kB / 0.7546 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.8175, allocations: 10.03 kB / 0.7546 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.8177, allocations: 14.58 kB / 0.7546 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.8178, allocations: 16.95 kB / 0.7546 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.8179, allocations: 14.77 kB / 0.7547 GB, free: 7.617 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003346/0.8182, allocations: 234.9 kB / 0.7549 GB, free: 7.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.054e-06/0.8182, allocations: 3.031 kB / 0.7549 GB, free: 7.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006911/0.8189, allocations: 107.6 kB / 0.755 GB, free: 7.5 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 (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.0005056/0.8194, allocations: 183.4 kB / 0.7552 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.8211, allocations: 0.5386 MB / 0.7557 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8211, allocations: 0 / 0.7557 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/0.8218, allocations: 247.8 kB / 0.7559 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.8224, allocations: 60.58 kB / 0.756 GB, free: 7.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.8255, allocations: 0.8454 MB / 0.7568 GB, free: 6.508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.8258, allocations: 0.7633 MB / 0.7576 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.826, allocations: 35.16 kB / 0.7576 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.8261, allocations: 24.2 kB / 0.7576 GB, free: 5.754 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.8261, allocations: 0 / 0.7576 GB, free: 5.754 MB / 0.545 GB Notification: Performance of Templates: time 0.01419/0.8403, allocations: 6.577 MB / 0.764 GB, free: 2.523 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: