Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.607/0.6082, allocations: 140.4 MB / 0.9492 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002855/0.6111, allocations: 2.451 MB / 0.9516 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.7717, allocations: 148.8 MB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.772, allocations: 4 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.7724, allocations: 83.56 kB / 1.097 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007998/0.7733, allocations: 214.5 kB / 1.097 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.7749, allocations: 0.6031 MB / 1.098 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.7754, allocations: 442.5 kB / 1.098 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7756, allocations: 40.73 kB / 1.098 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.7758, allocations: 187.4 kB / 1.098 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.7761, allocations: 191.4 kB / 1.099 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.7762, allocations: 32 kB / 1.099 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.7773, allocations: 0.6472 MB / 1.099 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.7775, allocations: 87.72 kB / 1.099 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.7776, allocations: 167.2 kB / 1.1 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.7785, allocations: 0.67 MB / 1.1 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7786, allocations: 0 / 1.1 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7786, allocations: 0 / 1.1 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.7786, allocations: 0 / 1.1 GB, free: 6.957 MB / 0.8575 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.00163/0.7802, allocations: 0.7377 MB / 1.101 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7803, allocations: 8.031 kB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.7803, allocations: 50.73 kB / 1.101 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.782, allocations: 168.1 kB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.7824, allocations: 310.2 kB / 1.101 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.7825, allocations: 41.7 kB / 1.101 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.7826, allocations: 27.94 kB / 1.101 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.783, allocations: 212 kB / 1.102 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.783, allocations: 4 kB / 1.102 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.783, allocations: 3.938 kB / 1.102 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.783, allocations: 4 kB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.7833, allocations: 124.1 kB / 1.102 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.7858, allocations: 0.9807 MB / 1.103 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.7866, allocations: 166.4 kB / 1.103 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.7868, allocations: 96.83 kB / 1.103 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.7869, allocations: 0 / 1.103 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.7873, allocations: 194.7 kB / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.7873, allocations: 0 / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004345/0.7916, allocations: 0.8681 MB / 1.104 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.7918, allocations: 85.23 kB / 1.104 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.7922, allocations: 344.4 kB / 1.104 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.7922, allocations: 33.7 kB / 1.105 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.7923, allocations: 152.6 kB / 1.105 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.7924, allocations: 51.2 kB / 1.105 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.7926, allocations: 97.77 kB / 1.105 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7927, allocations: 338.8 kB / 1.105 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.793, allocations: 144.5 kB / 1.105 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.7934, allocations: 209.4 kB / 1.105 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.794, allocations: 336.9 kB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7941, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003803/0.7979, allocations: 0.8638 MB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.7979, allocations: 43.88 kB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.798, allocations: 3.938 kB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009263/0.7989, allocations: 193.7 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.7991, allocations: 43.91 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.802, allocations: 2.347 MB / 1.109 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.8025, allocations: 39.67 kB / 1.109 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.8026, allocations: 27.95 kB / 1.109 GB, free: 13.14 MB / 0.8731 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 {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.0002208/0.8028, allocations: 180.6 kB / 1.109 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.8029, allocations: 31.62 kB / 1.109 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/0.8029, allocations: 31.17 kB / 1.109 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.803, allocations: 7.875 kB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.803, allocations: 3.938 kB / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.803, allocations: 0 / 1.109 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.8064, allocations: 1.041 MB / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.8064, allocations: 0 / 1.111 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.8064, allocations: 7.938 kB / 1.111 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.8068, allocations: 120.7 kB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.8068, allocations: 8 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008722/0.8077, allocations: 0.7459 MB / 1.111 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8077, allocations: 0 / 1.111 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.811, allocations: 0.8722 MB / 1.112 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.8111, allocations: 132.7 kB / 1.112 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.8112, allocations: 8 kB / 1.112 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.8115, allocations: 11.98 kB / 1.112 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.8115, allocations: 12.05 kB / 1.112 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.8116, allocations: 15.98 kB / 1.112 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002684/0.8119, allocations: 239 kB / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8119, allocations: 0 / 1.113 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004808/0.8124, allocations: 116 kB / 1.113 GB, free: 9.426 MB / 0.8731 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.001569/0.8139, allocations: 1.24 MB / 1.114 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.8155, allocations: 0.5612 MB / 1.114 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8155, allocations: 0 / 1.114 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.8163, allocations: 252.2 kB / 1.115 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.8168, allocations: 65.48 kB / 1.115 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.8282, allocations: 4.429 MB / 1.119 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.8286, allocations: 0.7638 MB / 1.12 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.8288, allocations: 30.27 kB / 1.12 GB, free: 1.879 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.8289, allocations: 83.41 kB / 1.12 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of SimCode: time 8.32e-07/0.8289, allocations: 7.938 kB / 1.12 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3116/1.14, allocations: 10.12 MB / 1.13 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004014/1.141, allocations: 286.4 kB / 1.13 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.451, allocations: 4 kB / 1.13 GB, free: 7.578 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)