Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 252 MB / 267.3 MB, free: 10.79 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009893/0.0009891, allocations: 179.9 kB / 327 MB, free: 2.066 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008082/0.0008077, allocations: 90.75 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 10.72 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002482/0.2222, allocations: 2.104 MB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.3849, allocations: 147.1 MB / 1.047 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3854, allocations: 0 / 1.047 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.3859, allocations: 79.61 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009991/0.3869, allocations: 206.9 kB / 1.047 GB, free: 9.109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.389, allocations: 0.5847 MB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.3897, allocations: 406.7 kB / 1.048 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3899, allocations: 48.94 kB / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.3902, allocations: 163.4 kB / 1.048 GB, free: 7.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.3907, allocations: 183.3 kB / 1.048 GB, free: 7.746 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.3908, allocations: 16 kB / 1.048 GB, free: 7.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.3922, allocations: 0.6706 MB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3924, allocations: 71.72 kB / 1.049 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.3926, allocations: 172.9 kB / 1.049 GB, free: 6.812 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.3935, allocations: 0.6388 MB / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3936, allocations: 0 / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3936, allocations: 0 / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.3936, allocations: 0 / 1.05 GB, free: 6.172 MB / 0.698 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.001515/0.3951, allocations: 0.6911 MB / 1.05 GB, free: 5.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.3952, allocations: 8.031 kB / 1.05 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.3952, allocations: 50.67 kB / 1.051 GB, free: 5.359 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.3968, allocations: 156.4 kB / 1.051 GB, free: 5.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3972, allocations: 310.6 kB / 1.051 GB, free: 4.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.3973, allocations: 45.7 kB / 1.051 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.3974, allocations: 27.84 kB / 1.051 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.3978, allocations: 208.1 kB / 1.051 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3978, allocations: 0 / 1.051 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.3978, allocations: 8 kB / 1.051 GB, free: 4.559 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3979, allocations: 0 / 1.051 GB, free: 4.559 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.3981, allocations: 121.5 kB / 1.051 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.4006, allocations: 1.008 MB / 1.052 GB, free: 3.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.4013, allocations: 162.5 kB / 1.053 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.4015, allocations: 100.8 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.4016, allocations: 0 / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.402, allocations: 188.9 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 3.116e-06/0.402, allocations: 4 kB / 1.053 GB, free: 2.898 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004011/0.406, allocations: 0.8807 MB / 1.054 GB, free: 1.984 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.4061, allocations: 89.05 kB / 1.054 GB, free: 1.879 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.4065, allocations: 336.4 kB / 1.054 GB, free: 1.543 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.4065, allocations: 33.7 kB / 1.054 GB, free: 1.504 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4067, allocations: 152.5 kB / 1.054 GB, free: 1.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.4067, allocations: 63.09 kB / 1.054 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.4068, allocations: 12 kB / 1.054 GB, free: 1.277 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4069, allocations: 342.7 kB / 1.055 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.4072, allocations: 140.5 kB / 1.055 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.4076, allocations: 217.4 kB / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.4082, allocations: 340.9 kB / 1.055 GB, free: 216 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.4082, allocations: 0 / 1.055 GB, free: 216 kB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.4949/0.9031, allocations: 0.852 MB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.9032, allocations: 41.95 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9033, allocations: 1.125 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009567/0.9042, allocations: 206.1 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.9045, allocations: 40.98 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.9069, allocations: 2.241 MB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.9074, allocations: 44.12 kB / 1.059 GB, free: 154.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.9075, allocations: 20.64 kB / 1.059 GB, free: 154.3 MB / 0.698 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,$whenCondition2,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 (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 {7} * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.9077, allocations: 193.2 kB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.9078, allocations: 36.67 kB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.9078, allocations: 30 kB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.9078, allocations: 0 / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.9078, allocations: 0 / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9078, allocations: 2.906 kB / 1.059 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.9108, allocations: 1.045 MB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9108, allocations: 3.281 kB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.405e-05/0.9109, allocations: 9.688 kB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.9112, allocations: 114.7 kB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.9112, allocations: 9.172 kB / 1.06 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00075/0.912, allocations: 0.7547 MB / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.912, allocations: 240 / 1.061 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.915, allocations: 0.8914 MB / 1.062 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.9151, allocations: 138.8 kB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.9152, allocations: 6.641 kB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.9154, allocations: 12.38 kB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.9155, allocations: 10.86 kB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.9156, allocations: 9.188 kB / 1.062 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002998/0.9159, allocations: 243.8 kB / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9159, allocations: 0 / 1.062 GB, free: 152.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005263/0.9164, allocations: 107.7 kB / 1.062 GB, free: 152.8 MB / 0.698 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 {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001581/0.918, allocations: 1.234 MB / 1.063 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.9197, allocations: 0.5649 MB / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9197, allocations: 0 / 1.064 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.9204, allocations: 254.8 kB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.9209, allocations: 59.81 kB / 1.064 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.9323, allocations: 4.487 MB / 1.069 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.9326, allocations: 0.761 MB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.9328, allocations: 32.47 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.933, allocations: 87.02 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.933, allocations: 4 kB / 1.069 GB, free: 149.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.9592, allocations: 9.687 MB / 1.079 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.9594, allocations: 296.9 kB / 1.079 GB, free: 146.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.279, allocations: 4 kB / 1.079 GB, free: 146.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)