Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001429/0.001429, allocations: 104.3 kB / 16.36 MB, free: 6.301 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.001512/0.001512, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.604/1.604, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.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.001501/0.001501, allocations: 71.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2921, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003947/0.2961, allocations: 2.413 MB / 0.7872 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.7432/1.039, allocations: 150.9 MB / 0.9346 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/1.04, allocations: 8 kB / 0.9346 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/1.04, allocations: 91.19 kB / 0.9346 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007914/1.041, allocations: 239.1 kB / 0.9349 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/1.043, allocations: 0.6583 MB / 0.9355 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/1.043, allocations: 438.5 kB / 0.9359 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/1.043, allocations: 54 kB / 0.936 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/1.044, allocations: 167.5 kB / 0.9362 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/1.044, allocations: 207.2 kB / 0.9363 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/1.044, allocations: 32 kB / 0.9364 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.045, allocations: 0.62 MB / 0.937 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/1.045, allocations: 83.78 kB / 0.9371 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/1.045, allocations: 159.2 kB / 0.9372 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008582/1.046, allocations: 0.6543 MB / 0.9379 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.046, allocations: 0 / 0.9379 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/1.046, allocations: 0 / 0.9379 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.046, allocations: 0 / 0.9379 GB, free: 13.41 MB / 0.7325 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.001544/1.048, allocations: 0.7366 MB / 0.9386 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.048, allocations: 13.09 kB / 0.9386 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/1.05, allocations: 164.6 kB / 0.9387 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/1.05, allocations: 314.2 kB / 0.939 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/1.05, allocations: 53.67 kB / 0.9391 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/1.05, allocations: 16 kB / 0.9391 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/1.051, allocations: 212.1 kB / 0.9393 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.051, allocations: 0 / 0.9393 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/1.051, allocations: 8 kB / 0.9393 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.051, allocations: 0 / 0.9393 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/1.051, allocations: 116.1 kB / 0.9394 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/1.054, allocations: 0.9847 MB / 0.9404 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/1.054, allocations: 170.5 kB / 0.9406 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/1.055, allocations: 94.36 kB / 0.9406 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/1.055, allocations: 11.92 kB / 0.9407 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/1.055, allocations: 194.4 kB / 0.9408 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/1.055, allocations: 0 / 0.9408 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.003981/1.059, allocations: 0.8466 MB / 0.9417 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/1.059, allocations: 89.03 kB / 0.9418 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/1.059, allocations: 336.5 kB / 0.9421 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/1.06, allocations: 33.64 kB / 0.9421 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/1.06, allocations: 157.9 kB / 0.9423 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/1.06, allocations: 59.23 kB / 0.9423 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.06, allocations: 81.94 kB / 0.9424 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.06, allocations: 342.8 kB / 0.9427 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/1.06, allocations: 140.5 kB / 0.9429 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/1.061, allocations: 213.4 kB / 0.9431 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/1.061, allocations: 345.5 kB / 0.9434 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.061, allocations: 4 kB / 0.9434 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003469/1.065, allocations: 0.847 MB / 0.9442 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/1.065, allocations: 41.69 kB / 0.9443 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.065, allocations: 0 / 0.9443 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/1.066, allocations: 205.6 kB / 0.9445 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/1.066, allocations: 35.97 kB / 0.9445 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/1.069, allocations: 2.341 MB / 0.9468 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/1.07, allocations: 46.3 kB / 0.9468 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/1.07, allocations: 15.98 kB / 0.9468 GB, free: 3.711 MB / 0.7325 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.0002567/1.07, allocations: 198.5 kB / 0.947 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/1.07, allocations: 31.62 kB / 0.9471 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/1.07, allocations: 27.17 kB / 0.9471 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.07, allocations: 4 kB / 0.9471 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.07, allocations: 3.938 kB / 0.9471 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.07, allocations: 0 / 0.9471 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/1.073, allocations: 1.039 MB / 0.9481 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.073, allocations: 0 / 0.9481 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/1.073, allocations: 4 kB / 0.9481 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/1.074, allocations: 120.5 kB / 0.9482 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.074, allocations: 8 kB / 0.9482 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008599/1.074, allocations: 0.742 MB / 0.9489 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.075, allocations: 0 / 0.9489 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/1.078, allocations: 0.8709 MB / 0.9498 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/1.078, allocations: 132.7 kB / 0.9499 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/1.078, allocations: 8 kB / 0.9499 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.078, allocations: 18.05 kB / 0.95 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/1.078, allocations: 11.98 kB / 0.95 GB, free: 384 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/1.078, allocations: 11.98 kB / 0.95 GB, free: 372 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000319/1.078, allocations: 243.1 kB / 0.9502 GB, free: 132 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.078, allocations: 0 / 0.9502 GB, free: 132 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005727/1.079, allocations: 104 kB / 0.9503 GB, free: 28 kB / 0.7325 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.000457/1.08, allocations: 202 kB / 0.9505 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001675/1.081, allocations: 0.5618 MB / 0.951 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.081, allocations: 1.594 kB / 0.951 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/1.082, allocations: 260.2 kB / 0.9513 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/1.082, allocations: 56.59 kB / 0.9514 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/1.084, allocations: 0.6365 MB / 0.952 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.084, allocations: 0.7637 MB / 0.9527 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/1.084, allocations: 27.42 kB / 0.9527 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/1.084, allocations: 0 / 0.9527 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.009461/1.094, allocations: 6.52 MB / 0.9591 GB, free: 7.039 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)