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.2375/0.2394, allocations: 80.83 MB / 0.5897 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.00577/0.2452, allocations: 2.41 MB / 0.5921 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.7376/0.9829, allocations: 148.7 MB / 0.7372 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.9832, allocations: 2.188 kB / 0.7372 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004815/0.9837, allocations: 79.17 kB / 0.7373 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00086/0.9846, allocations: 204.1 kB / 0.7375 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.9867, allocations: 0.5795 MB / 0.7381 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.9873, allocations: 390.7 kB / 0.7385 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.9874, allocations: 48.92 kB / 0.7385 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.9877, allocations: 158.6 kB / 0.7387 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004044/0.9881, allocations: 188.4 kB / 0.7388 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.9882, allocations: 17.88 kB / 0.7388 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.9898, allocations: 0.6622 MB / 0.7395 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.99, allocations: 77.23 kB / 0.7396 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.9902, allocations: 148.3 kB / 0.7397 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.9912, allocations: 0.6272 MB / 0.7403 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.9912, allocations: 5.531 kB / 0.7403 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9912, allocations: 0 / 0.7403 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9912, allocations: 0 / 0.7403 GB, free: 14.55 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.001683/0.9929, allocations: 0.727 MB / 0.741 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.993, allocations: 9.719 kB / 0.741 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.9946, allocations: 163.1 kB / 0.7412 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.9951, allocations: 314.9 kB / 0.7415 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.9952, allocations: 49.19 kB / 0.7415 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.9953, allocations: 16.34 kB / 0.7416 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.9958, allocations: 210.8 kB / 0.7418 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9958, allocations: 1.531 kB / 0.7418 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.9959, allocations: 8.781 kB / 0.7418 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9959, allocations: 2.938 kB / 0.7418 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.9962, allocations: 121.8 kB / 0.7419 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.9988, allocations: 1.044 MB / 0.7429 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.9996, allocations: 154.1 kB / 0.7431 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.9998, allocations: 93.06 kB / 0.7432 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.9999, allocations: 3.672 kB / 0.7432 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/1, allocations: 180.1 kB / 0.7433 GB, free: 12.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/1, allocations: 0 / 0.7433 GB, free: 12.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.004515/1.005, allocations: 0.8342 MB / 0.7441 GB, free: 12.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.005, allocations: 95.2 kB / 0.7442 GB, free: 12.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006414/1.006, allocations: 336.9 kB / 0.7446 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/1.006, allocations: 31.14 kB / 0.7446 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/1.006, allocations: 163.6 kB / 0.7447 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/1.006, allocations: 50.62 kB / 0.7448 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/1.006, allocations: 80 kB / 0.7449 GB, free: 12.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.006, allocations: 343.6 kB / 0.7452 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/1.007, allocations: 125.2 kB / 0.7453 GB, free: 12.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/1.007, allocations: 221.7 kB / 0.7455 GB, free: 12.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/1.008, allocations: 338.7 kB / 0.7458 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.008, allocations: 0 / 0.7458 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.004223/1.012, allocations: 0.8244 MB / 0.7466 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.012, allocations: 42 kB / 0.7467 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.012, allocations: 4 kB / 0.7467 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.013, allocations: 171.2 kB / 0.7469 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/1.014, allocations: 48.77 kB / 0.7469 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/1.017, allocations: 2.14 MB / 0.749 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/1.017, allocations: 43.06 kB / 0.749 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/1.017, allocations: 19.48 kB / 0.7491 GB, free: 9.516 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.0003606/1.018, allocations: 204.8 kB / 0.7492 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.018, allocations: 31.31 kB / 0.7493 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/1.018, allocations: 29.73 kB / 0.7493 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.018, allocations: 2.531 kB / 0.7493 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.018, allocations: 0 / 0.7493 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.018, allocations: 3.984 kB / 0.7493 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/1.021, allocations: 1.016 MB / 0.7503 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.021, allocations: 0 / 0.7503 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/1.021, allocations: 5.219 kB / 0.7503 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/1.022, allocations: 109.4 kB / 0.7504 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/1.022, allocations: 10.42 kB / 0.7504 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009352/1.023, allocations: 0.7351 MB / 0.7511 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.023, allocations: 0 / 0.7511 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/1.026, allocations: 0.8493 MB / 0.752 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/1.026, allocations: 128.1 kB / 0.7521 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/1.027, allocations: 8.531 kB / 0.7521 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/1.027, allocations: 17.89 kB / 0.7521 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/1.027, allocations: 11.95 kB / 0.7521 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/1.027, allocations: 9.078 kB / 0.7521 GB, free: 7.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003745/1.027, allocations: 244.2 kB / 0.7524 GB, free: 7.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/1.027, allocations: 0 / 0.7524 GB, free: 7.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008262/1.028, allocations: 109.5 kB / 0.7525 GB, free: 7.449 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.0005807/1.029, allocations: 186.7 kB / 0.7527 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.031, allocations: 0.5285 MB / 0.7532 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.031, allocations: 7.5 kB / 0.7532 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/1.031, allocations: 242.2 kB / 0.7534 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/1.032, allocations: 65.78 kB / 0.7535 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/1.035, allocations: 0.8004 MB / 0.7543 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/1.035, allocations: 0.766 MB / 0.755 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000197/1.036, allocations: 31.38 kB / 0.755 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/1.036, allocations: 20.31 kB / 0.7551 GB, free: 5.742 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/1.036, allocations: 3.938 kB / 0.7551 GB, free: 5.738 MB / 0.545 GB Notification: Performance of Templates: time 0.01358/1.049, allocations: 6.645 MB / 0.7615 GB, free: 2.488 MB / 0.545 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)