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.1868/0.1877, allocations: 82.21 MB / 0.5935 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002695/0.1904, allocations: 2 MB / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5886/0.7791, allocations: 137.1 MB / 0.7293 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.7794, allocations: 2.188 kB / 0.7293 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.7798, allocations: 74.94 kB / 0.7294 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.7805, allocations: 207.2 kB / 0.7296 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.7821, allocations: 0.5022 MB / 0.7301 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.7825, allocations: 360.4 kB / 0.7304 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.7826, allocations: 40.47 kB / 0.7305 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.7828, allocations: 148.5 kB / 0.7306 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.7832, allocations: 173.6 kB / 0.7308 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.7833, allocations: 15.38 kB / 0.7308 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.7844, allocations: 0.4922 MB / 0.7313 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.7845, allocations: 65.72 kB / 0.7313 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7847, allocations: 77.05 kB / 0.7314 GB, free: 16.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.7854, allocations: 447.1 kB / 0.7318 GB, free: 16.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7854, allocations: 4 kB / 0.7318 GB, free: 16.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7854, allocations: 0 / 0.7318 GB, free: 16.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7854, allocations: 0.5938 kB / 0.7318 GB, free: 16.58 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.001433/0.7869, allocations: 0.6648 MB / 0.7325 GB, free: 16.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7869, allocations: 8.781 kB / 0.7325 GB, free: 16.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.7884, allocations: 156 kB / 0.7326 GB, free: 16.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.7889, allocations: 309 kB / 0.7329 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.789, allocations: 44.53 kB / 0.733 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.7891, allocations: 24.31 kB / 0.733 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.7896, allocations: 220.8 kB / 0.7332 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7896, allocations: 3.938 kB / 0.7332 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.7896, allocations: 5.406 kB / 0.7332 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.7896, allocations: 7.312 kB / 0.7332 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.7899, allocations: 115.5 kB / 0.7333 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.7922, allocations: 1.052 MB / 0.7344 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.7929, allocations: 152.3 kB / 0.7345 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.7932, allocations: 92.48 kB / 0.7346 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.7932, allocations: 3.438 kB / 0.7346 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.7936, allocations: 189.5 kB / 0.7348 GB, free: 15.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 3.657e-06/0.7936, allocations: 3.984 kB / 0.7348 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.004/0.7976, allocations: 0.8526 MB / 0.7356 GB, free: 14.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.7977, allocations: 79.86 kB / 0.7357 GB, free: 14.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.7982, allocations: 342.9 kB / 0.736 GB, free: 14.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.7983, allocations: 32.95 kB / 0.7361 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.7984, allocations: 149.6 kB / 0.7362 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.7985, allocations: 59.86 kB / 0.7363 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.7986, allocations: 4.594 kB / 0.7363 GB, free: 14.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7987, allocations: 351.2 kB / 0.7366 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.799, allocations: 133.2 kB / 0.7367 GB, free: 14.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.7994, allocations: 211.9 kB / 0.7369 GB, free: 14.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.7998, allocations: 166.1 kB / 0.7371 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7998, allocations: 5.859 kB / 0.7371 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.003294/0.8031, allocations: 0.8406 MB / 0.7379 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.8032, allocations: 36.42 kB / 0.7379 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8032, allocations: 2 kB / 0.7379 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/0.804, allocations: 178.2 kB / 0.7381 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.8042, allocations: 44.86 kB / 0.7382 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.8071, allocations: 2.148 MB / 0.7403 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.8077, allocations: 47.5 kB / 0.7403 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.8078, allocations: 20.88 kB / 0.7403 GB, free: 11.93 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.0004144/0.8082, allocations: 198 kB / 0.7405 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.8083, allocations: 30.44 kB / 0.7405 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.8084, allocations: 29.56 kB / 0.7406 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.8084, allocations: 0.7812 kB / 0.7406 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8084, allocations: 1.094 kB / 0.7406 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8084, allocations: 7.953 kB / 0.7406 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.8117, allocations: 1.01 MB / 0.7416 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.8117, allocations: 1.859 kB / 0.7416 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.8118, allocations: 8.406 kB / 0.7416 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/0.8121, allocations: 111.3 kB / 0.7417 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.8122, allocations: 10.19 kB / 0.7417 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008328/0.813, allocations: 0.7379 MB / 0.7424 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.813, allocations: 0 / 0.7424 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.8158, allocations: 0.8728 MB / 0.7433 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.816, allocations: 128.9 kB / 0.7434 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.8161, allocations: 10.94 kB / 0.7434 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.8164, allocations: 17.27 kB / 0.7434 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.8164, allocations: 11.67 kB / 0.7434 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.8165, allocations: 15.23 kB / 0.7434 GB, free: 10.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003754/0.8169, allocations: 236.8 kB / 0.7437 GB, free: 10.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8169, allocations: 1.062 kB / 0.7437 GB, free: 10.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007689/0.8176, allocations: 103.5 kB / 0.7438 GB, free: 10.32 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.0004401/0.8181, allocations: 185.1 kB / 0.7439 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.8196, allocations: 0.5361 MB / 0.7445 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8196, allocations: 4.844 kB / 0.7445 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/0.8202, allocations: 238.7 kB / 0.7447 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.8208, allocations: 59.3 kB / 0.7448 GB, free: 9.934 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.8236, allocations: 0.8432 MB / 0.7456 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.824, allocations: 0.7577 MB / 0.7463 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000221/0.8242, allocations: 34.39 kB / 0.7463 GB, free: 8.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.8243, allocations: 26.33 kB / 0.7464 GB, free: 8.852 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.8243, allocations: 0 / 0.7464 GB, free: 8.852 MB / 0.545 GB Notification: Performance of Templates: time 0.01269/0.837, allocations: 6.388 MB / 0.7526 GB, free: 5.855 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: