Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01405/0.01405, allocations: 89.41 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001729/0.001729, allocations: 173.5 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.219/2.219, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.404/2.404, allocations: 252.9 MB / 0.511 GB, free: 8.379 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004879, allocations: 14.72 kB / 0.6243 GB, free: 28.44 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2412, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.005064/0.2463, allocations: 1.985 MB / 0.73 GB, free: 8.188 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.8638/1.11, allocations: 127.5 MB / 0.8546 GB, free: 5.254 MB / 0.6668 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/1.111, allocations: 2.719 kB / 0.8546 GB, free: 5.254 MB / 0.6668 GB Notification: Performance of NFTyping.typeComponents: time 0.0003969/1.111, allocations: 80.22 kB / 0.8546 GB, free: 5.254 MB / 0.6668 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/1.112, allocations: 228.2 kB / 0.8549 GB, free: 5.25 MB / 0.6668 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/1.115, allocations: 0.5185 MB / 0.8554 GB, free: 5.23 MB / 0.6668 GB Notification: Performance of NFFlatten.flatten: time 0.0008162/1.115, allocations: 267.5 kB / 0.8556 GB, free: 5.23 MB / 0.6668 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/1.116, allocations: 39.56 kB / 0.8557 GB, free: 5.223 MB / 0.6668 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/1.116, allocations: 161.1 kB / 0.8558 GB, free: 5.223 MB / 0.6668 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/1.116, allocations: 176.6 kB / 0.856 GB, free: 5.223 MB / 0.6668 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/1.117, allocations: 19.59 kB / 0.856 GB, free: 5.219 MB / 0.6668 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/1.119, allocations: 0.5177 MB / 0.8565 GB, free: 5.219 MB / 0.6668 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/1.119, allocations: 62.39 kB / 0.8566 GB, free: 5.219 MB / 0.6668 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/1.119, allocations: 77.05 kB / 0.8566 GB, free: 5.188 MB / 0.6668 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/1.12, allocations: 450.1 kB / 0.8571 GB, free: 5.156 MB / 0.6668 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.12, allocations: 0 / 0.8571 GB, free: 5.156 MB / 0.6668 GB Notification: Performance of FrontEnd: time 2.325e-06/1.12, allocations: 0 / 0.8571 GB, free: 5.156 MB / 0.6668 GB Notification: Performance of Transformations before backend: time 7.804e-06/1.12, allocations: 0 / 0.8571 GB, free: 5.156 MB / 0.6668 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002687/1.123, allocations: 0.6929 MB / 0.8577 GB, free: 20.63 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.123, allocations: 10.31 kB / 0.8577 GB, free: 20.63 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/1.123, allocations: 42.88 kB / 0.8578 GB, free: 20.59 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/1.126, allocations: 160.6 kB / 0.8579 GB, free: 20.57 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008614/1.127, allocations: 298.1 kB / 0.8582 GB, free: 20.36 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/1.127, allocations: 54.34 kB / 0.8583 GB, free: 20.32 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/1.127, allocations: 23.11 kB / 0.8583 GB, free: 20.31 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/1.128, allocations: 202.7 kB / 0.8585 GB, free: 20.26 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.128, allocations: 2.734 kB / 0.8585 GB, free: 20.26 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/1.128, allocations: 6.953 kB / 0.8585 GB, free: 20.26 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.128, allocations: 2.969 kB / 0.8585 GB, free: 20.26 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/1.128, allocations: 124.7 kB / 0.8586 GB, free: 20.25 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/1.133, allocations: 0.9925 MB / 0.8596 GB, free: 19.79 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/1.134, allocations: 164.9 kB / 0.8598 GB, free: 19.76 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/1.134, allocations: 5.594 kB / 0.8598 GB, free: 19.76 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/1.135, allocations: 192.8 kB / 0.8599 GB, free: 19.68 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/1.135, allocations: 4 kB / 0.8599 GB, free: 19.68 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19): time 0.007344/1.142, allocations: 0.9484 MB / 0.8609 GB, free: 19.38 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.142, allocations: 88.08 kB / 0.861 GB, free: 19.28 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007011/1.143, allocations: 342.1 kB / 0.8613 GB, free: 19.16 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.143, allocations: 32.88 kB / 0.8613 GB, free: 19.13 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/1.143, allocations: 145.1 kB / 0.8615 GB, free: 19.04 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/1.143, allocations: 60.83 kB / 0.8615 GB, free: 19 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/1.143, allocations: 11.28 kB / 0.8615 GB, free: 19 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.144, allocations: 341.4 kB / 0.8618 GB, free: 18.69 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/1.144, allocations: 136.6 kB / 0.862 GB, free: 18.69 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/1.145, allocations: 217.1 kB / 0.8622 GB, free: 18.64 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/1.146, allocations: 174.9 kB / 0.8623 GB, free: 18.61 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.146, allocations: 5.391 kB / 0.8624 GB, free: 18.61 MB / 0.6824 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.006691/1.152, allocations: 0.8646 MB / 0.8632 GB, free: 18.49 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.152, allocations: 39.92 kB / 0.8632 GB, free: 18.46 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.152, allocations: 4.062 kB / 0.8632 GB, free: 18.45 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/1.154, allocations: 200.2 kB / 0.8634 GB, free: 18.43 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/1.155, allocations: 42.39 kB / 0.8635 GB, free: 18.42 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/1.159, allocations: 2.243 MB / 0.8657 GB, free: 16.54 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/1.16, allocations: 59.78 kB / 0.8657 GB, free: 16.51 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/1.16, allocations: 19.42 kB / 0.8657 GB, free: 16.51 MB / 0.6824 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 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003885/1.161, allocations: 188 kB / 0.8659 GB, free: 16.36 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/1.161, allocations: 29.41 kB / 0.8659 GB, free: 16.34 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/1.161, allocations: 30.17 kB / 0.866 GB, free: 16.34 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.161, allocations: 0.7188 kB / 0.866 GB, free: 16.34 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.161, allocations: 0.875 kB / 0.866 GB, free: 16.34 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.161, allocations: 9.891 kB / 0.866 GB, free: 16.33 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/1.167, allocations: 1.047 MB / 0.867 GB, free: 15.97 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.167, allocations: 0.5625 kB / 0.867 GB, free: 15.97 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.167, allocations: 6.141 kB / 0.867 GB, free: 15.97 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/1.167, allocations: 112.3 kB / 0.8671 GB, free: 15.96 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/1.168, allocations: 17.94 kB / 0.8671 GB, free: 15.95 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.169, allocations: 0.748 MB / 0.8679 GB, free: 15.36 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.169, allocations: 0 / 0.8679 GB, free: 15.36 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.175, allocations: 0.8843 MB / 0.8687 GB, free: 15.14 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/1.175, allocations: 137.9 kB / 0.8689 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/1.175, allocations: 6.594 kB / 0.8689 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/1.176, allocations: 13.78 kB / 0.8689 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/1.176, allocations: 16.03 kB / 0.8689 GB, free: 15.02 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.176, allocations: 8.578 kB / 0.8689 GB, free: 15.02 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0005043/1.176, allocations: 238.6 kB / 0.8691 GB, free: 14.94 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.01e-07/1.176, allocations: 3.938 kB / 0.8691 GB, free: 14.94 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0008698/1.177, allocations: 114.6 kB / 0.8692 GB, free: 14.93 MB / 0.6824 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 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002823/1.18, allocations: 1.238 MB / 0.8705 GB, free: 14.2 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.002803/1.183, allocations: 0.5602 MB / 0.871 GB, free: 14 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.183, allocations: 0.9688 kB / 0.871 GB, free: 14 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.184, allocations: 248.3 kB / 0.8712 GB, free: 13.92 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/1.185, allocations: 53.45 kB / 0.8713 GB, free: 13.91 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.188, allocations: 1.642 MB / 0.8729 GB, free: 12.67 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.189, allocations: 0.7706 MB / 0.8736 GB, free: 11.97 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0003164/1.189, allocations: 28.97 kB / 0.8737 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.189, allocations: 83 kB / 0.8738 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of SimCode: time 9.22e-07/1.189, allocations: 0 / 0.8738 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/1.296, allocations: 9.471 MB / 0.883 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003938/1.297, allocations: 256.7 kB / 0.8832 GB, free: 10.86 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/4.363, allocations: 0 / 0.8832 GB, free: 10.86 MB / 0.6824 GB