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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00157/0.001569, allocations: 195.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.64/1.64, allocations: 251.7 MB / 0.5088 GB, free: 3.387 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 68.47 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.628, allocations: 104.7 MB / 0.7238 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003967/0.632, allocations: 2.474 MB / 0.7262 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.7922, allocations: 148.7 MB / 0.8715 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.7925, allocations: 3.938 kB / 0.8715 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.7929, allocations: 77.75 kB / 0.8715 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.7936, allocations: 214.9 kB / 0.8717 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.7953, allocations: 0.5729 MB / 0.8723 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.7958, allocations: 406.7 kB / 0.8727 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.7959, allocations: 48.7 kB / 0.8727 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.7961, allocations: 167.4 kB / 0.8729 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.7965, allocations: 195.3 kB / 0.8731 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.7966, allocations: 16 kB / 0.8731 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.7979, allocations: 0.6628 MB / 0.8737 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.798, allocations: 75.7 kB / 0.8738 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.7982, allocations: 155.2 kB / 0.874 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.7991, allocations: 0.6505 MB / 0.8746 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7991, allocations: 0 / 0.8746 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of FrontEnd: time 7.91e-07/0.7991, allocations: 4 kB / 0.8746 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.7991, allocations: 4 kB / 0.8746 GB, free: 2.328 MB / 0.6856 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.001577/0.8007, allocations: 0.7377 MB / 0.8753 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.8008, allocations: 8.031 kB / 0.8753 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.8024, allocations: 160.4 kB / 0.8755 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.8028, allocations: 314.6 kB / 0.8758 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.803, allocations: 49.7 kB / 0.8758 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.8031, allocations: 20 kB / 0.8759 GB, free: 0.9531 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.8035, allocations: 220.8 kB / 0.8761 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8035, allocations: 0 / 0.8761 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.8036, allocations: 4 kB / 0.8761 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.8036, allocations: 4 kB / 0.8761 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.8038, allocations: 128.1 kB / 0.8762 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.8064, allocations: 0.9731 MB / 0.8771 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/0.8072, allocations: 170.5 kB / 0.8773 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.8075, allocations: 100.8 kB / 0.8774 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.8075, allocations: 0 / 0.8774 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.8079, allocations: 203.7 kB / 0.8776 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.8079, allocations: 0 / 0.8776 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.004293/0.8122, allocations: 0.8541 MB / 0.8784 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.8123, allocations: 89.11 kB / 0.8785 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.8127, allocations: 340.4 kB / 0.8788 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.8127, allocations: 33.7 kB / 0.8789 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8129, allocations: 156.5 kB / 0.879 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.8129, allocations: 51.25 kB / 0.8791 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.8131, allocations: 85.94 kB / 0.8792 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8132, allocations: 342.8 kB / 0.8795 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.8136, allocations: 140.5 kB / 0.8796 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.814, allocations: 221.3 kB / 0.8798 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.8147, allocations: 336.9 kB / 0.8801 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8147, allocations: 4 kB / 0.8801 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00375/0.8185, allocations: 0.8435 MB / 0.881 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.8185, allocations: 37.69 kB / 0.881 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8186, allocations: 0 / 0.881 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.8195, allocations: 197.6 kB / 0.8812 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.8198, allocations: 43.91 kB / 0.8812 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.8228, allocations: 2.237 MB / 0.8834 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.8233, allocations: 39.67 kB / 0.8835 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.8234, allocations: 23.98 kB / 0.8835 GB, free: 8.715 MB / 0.7012 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.0002663/0.8237, allocations: 191.5 kB / 0.8837 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.8237, allocations: 31.62 kB / 0.8837 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.8238, allocations: 27.19 kB / 0.8837 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.8238, allocations: 3.984 kB / 0.8837 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8238, allocations: 3.938 kB / 0.8837 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8238, allocations: 0 / 0.8837 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.8272, allocations: 1.028 MB / 0.8847 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8272, allocations: 3.938 kB / 0.8847 GB, free: 7.352 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.8273, allocations: 4 kB / 0.8847 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003294/0.8276, allocations: 124.9 kB / 0.8849 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.8276, allocations: 4 kB / 0.8849 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/0.8286, allocations: 0.7536 MB / 0.8856 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8286, allocations: 0 / 0.8856 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.8318, allocations: 0.8627 MB / 0.8864 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.832, allocations: 144.6 kB / 0.8866 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.8321, allocations: 8 kB / 0.8866 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.8324, allocations: 19.98 kB / 0.8866 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.8325, allocations: 7.984 kB / 0.8866 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.8325, allocations: 8 kB / 0.8866 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003246/0.8328, allocations: 239 kB / 0.8869 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8328, allocations: 0 / 0.8869 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006585/0.8335, allocations: 112 kB / 0.887 GB, free: 5.012 MB / 0.7012 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.0004299/0.8339, allocations: 185 kB / 0.8871 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.8356, allocations: 0.5542 MB / 0.8877 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8356, allocations: 4.062 kB / 0.8877 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/0.8364, allocations: 244.3 kB / 0.8879 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.837, allocations: 68.97 kB / 0.888 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.8384, allocations: 0.6786 MB / 0.8886 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.8387, allocations: 0.7638 MB / 0.8894 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.8389, allocations: 22.3 kB / 0.8894 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.839, allocations: 27.42 kB / 0.8894 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of SimCode: time 2.21e-07/0.839, allocations: 0 / 0.8894 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of Templates: time 0.01152/0.8505, allocations: 6.887 MB / 0.8962 GB, free: 11.58 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)