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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009435/0.0009436, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001126/0.001126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6232, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002578/0.6258, allocations: 2.031 MB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.772, allocations: 137.1 MB / 1.09 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.7723, allocations: 0 / 1.09 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.7726, allocations: 75.62 kB / 1.09 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006705/0.7733, allocations: 210.9 kB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.7748, allocations: 0.5118 MB / 1.091 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.7753, allocations: 378.6 kB / 1.091 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.7754, allocations: 36.72 kB / 1.091 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.7756, allocations: 151.5 kB / 1.091 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.776, allocations: 187.4 kB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.776, allocations: 16 kB / 1.091 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.777, allocations: 0.4953 MB / 1.092 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.7771, allocations: 71.72 kB / 1.092 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.7772, allocations: 73.58 kB / 1.092 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.7778, allocations: 462.9 kB / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7779, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.786e-06/0.7779, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.7779, allocations: 11.88 kB / 1.092 GB, free: 1.941 MB / 0.8419 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.001403/0.7793, allocations: 0.6849 MB / 1.093 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7793, allocations: 8.031 kB / 1.093 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.662e-05/0.7794, allocations: 50.55 kB / 1.093 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.7809, allocations: 155.5 kB / 1.093 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.7813, allocations: 310.4 kB / 1.094 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.7814, allocations: 49.66 kB / 1.094 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.7814, allocations: 16 kB / 1.094 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.7818, allocations: 204.1 kB / 1.094 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.7818, allocations: 0 / 1.094 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.7819, allocations: 8 kB / 1.094 GB, free: 356 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7819, allocations: 4 kB / 1.094 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.7821, allocations: 120.1 kB / 1.094 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.7845, allocations: 0.9964 MB / 1.095 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.7852, allocations: 166.5 kB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.7854, allocations: 104.8 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.7854, allocations: 4 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/0.7858, allocations: 189 kB / 1.095 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.7858, allocations: 0 / 1.095 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.003896/0.7897, allocations: 0.8807 MB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.7898, allocations: 81.11 kB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.7902, allocations: 344.4 kB / 1.097 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.7903, allocations: 37.69 kB / 1.097 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.7904, allocations: 148.6 kB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.7905, allocations: 55.2 kB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.7905, allocations: 8 kB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7906, allocations: 338.8 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.791, allocations: 136.5 kB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.7914, allocations: 217.4 kB / 1.097 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.7918, allocations: 174.8 kB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7918, allocations: 4 kB / 1.098 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003536/0.7954, allocations: 0.8799 MB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.7954, allocations: 37.69 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7954, allocations: 4 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.7963, allocations: 201.6 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.7966, allocations: 39.91 kB / 1.099 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.7994, allocations: 2.238 MB / 1.101 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.7999, allocations: 47.61 kB / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.8, allocations: 23.97 kB / 1.101 GB, free: 8.543 MB / 0.8575 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.0002353/0.8002, allocations: 188.4 kB / 1.101 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.8003, allocations: 35.62 kB / 1.101 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.8003, allocations: 27.17 kB / 1.101 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8003, allocations: 4 kB / 1.101 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8003, allocations: 4 kB / 1.101 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8004, allocations: 0 / 1.101 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.8035, allocations: 1.047 MB / 1.102 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8035, allocations: 0 / 1.102 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.8036, allocations: 8 kB / 1.102 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/0.8039, allocations: 120.8 kB / 1.102 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.8039, allocations: 4 kB / 1.102 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008435/0.8048, allocations: 0.7536 MB / 1.103 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8048, allocations: 0 / 1.103 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.8078, allocations: 0.8873 MB / 1.104 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.808, allocations: 136.7 kB / 1.104 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.8081, allocations: 11.95 kB / 1.104 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.8083, allocations: 12 kB / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.8084, allocations: 15.91 kB / 1.104 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.8084, allocations: 12.06 kB / 1.104 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002839/0.8087, allocations: 239 kB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8087, allocations: 0 / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005195/0.8092, allocations: 115.9 kB / 1.105 GB, free: 4.789 MB / 0.8575 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.001567/0.8108, allocations: 1.226 MB / 1.106 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.8123, allocations: 0.5651 MB / 1.106 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8123, allocations: 4 kB / 1.106 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.813, allocations: 244.2 kB / 1.107 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.8135, allocations: 60.94 kB / 1.107 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.8198, allocations: 2.519 MB / 1.109 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.8202, allocations: 0.7676 MB / 1.11 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.8204, allocations: 30.28 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.8205, allocations: 79.41 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.8205, allocations: 0 / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.8443, allocations: 9.632 MB / 1.119 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.8445, allocations: 254.9 kB / 1.12 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.798, allocations: 0 / 1.12 GB, free: 5.473 MB / 0.8731 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/linux/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)