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.001081/0.00108, 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.001287/0.001288, allocations: 187.9 kB / 16.25 MB, free: 6.625 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.587/1.587, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.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.741/1.741, allocations: 292.2 MB / 0.5485 GB, free: 13.69 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.001497/0.001497, allocations: 69.56 kB / 0.671 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2574, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004316/0.2618, allocations: 2.46 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7254/0.9873, allocations: 148.8 MB / 0.9306 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.9875, allocations: 2 kB / 0.9306 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.9879, allocations: 80.16 kB / 0.9306 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007206/0.9887, allocations: 215.8 kB / 0.9308 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.9904, allocations: 0.5972 MB / 0.9314 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.991, allocations: 436.4 kB / 0.9318 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.9911, allocations: 53.22 kB / 0.9319 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.9914, allocations: 178 kB / 0.9321 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.9918, allocations: 202 kB / 0.9322 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.9919, allocations: 30.59 kB / 0.9323 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.9932, allocations: 0.6472 MB / 0.9329 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.9934, allocations: 85.28 kB / 0.933 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.9936, allocations: 163.8 kB / 0.9331 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.9947, allocations: 0.6603 MB / 0.9338 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9947, allocations: 2.562 kB / 0.9338 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9947, allocations: 0 / 0.9338 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9947, allocations: 0 / 0.9338 GB, free: 5.852 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.001855/0.9966, allocations: 0.7403 MB / 0.9345 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9966, allocations: 11.47 kB / 0.9345 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.9983, allocations: 160.8 kB / 0.9347 GB, free: 21.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.9988, allocations: 313.3 kB / 0.935 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/0.9988, allocations: 46.31 kB / 0.935 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.9989, allocations: 21.38 kB / 0.935 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.9993, allocations: 207.5 kB / 0.9352 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9993, allocations: 1.656 kB / 0.9352 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.9994, allocations: 3.938 kB / 0.9352 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.9994, allocations: 2.938 kB / 0.9353 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.9996, allocations: 125.2 kB / 0.9354 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/1.002, allocations: 0.9924 MB / 0.9363 GB, free: 20.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007607/1.003, allocations: 167.4 kB / 0.9365 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/1.003, allocations: 97.91 kB / 0.9366 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.003, allocations: 5.031 kB / 0.9366 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/1.004, allocations: 198.6 kB / 0.9368 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.953e-06/1.004, allocations: 0 / 0.9368 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.004342/1.008, allocations: 0.8645 MB / 0.9376 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/1.008, allocations: 84.17 kB / 0.9377 GB, free: 20.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/1.009, allocations: 340.2 kB / 0.938 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/1.009, allocations: 32.86 kB / 0.9381 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/1.009, allocations: 154 kB / 0.9382 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/1.009, allocations: 53 kB / 0.9383 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.009, allocations: 88.56 kB / 0.9383 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.009, allocations: 347.8 kB / 0.9387 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/1.01, allocations: 139.4 kB / 0.9388 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/1.01, allocations: 214.9 kB / 0.939 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/1.011, allocations: 339.6 kB / 0.9393 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.011, allocations: 0.6562 kB / 0.9393 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003822/1.014, allocations: 0.8568 MB / 0.9402 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/1.014, allocations: 40.38 kB / 0.9402 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.014, allocations: 2.562 kB / 0.9402 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009249/1.015, allocations: 195.5 kB / 0.9404 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/1.016, allocations: 42.23 kB / 0.9404 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/1.019, allocations: 2.341 MB / 0.9427 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/1.019, allocations: 51.89 kB / 0.9428 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/1.019, allocations: 20.19 kB / 0.9428 GB, free: 17.13 MB / 0.7481 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.0002753/1.02, allocations: 186.7 kB / 0.943 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/1.02, allocations: 32.03 kB / 0.943 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/1.02, allocations: 29.66 kB / 0.943 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.02, allocations: 0 / 0.943 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.02, allocations: 6.562 kB / 0.943 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.02, allocations: 1.312 kB / 0.943 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.023, allocations: 1.024 MB / 0.944 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.023, allocations: 0 / 0.944 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/1.023, allocations: 6.734 kB / 0.9441 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/1.024, allocations: 118.3 kB / 0.9442 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/1.024, allocations: 18.56 kB / 0.9442 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/1.025, allocations: 0.7486 MB / 0.9449 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.025, allocations: 1.203 kB / 0.9449 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/1.028, allocations: 0.8658 MB / 0.9458 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.029, allocations: 134.9 kB / 0.9459 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/1.029, allocations: 7.188 kB / 0.9459 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/1.029, allocations: 17.55 kB / 0.9459 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/1.029, allocations: 12.55 kB / 0.9459 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/1.029, allocations: 8.844 kB / 0.9459 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005738/1.03, allocations: 241.1 kB / 0.9462 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 1.203 kB / 0.9462 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008666/1.031, allocations: 112.9 kB / 0.9463 GB, free: 15.56 MB / 0.7481 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.0004971/1.031, allocations: 184.6 kB / 0.9464 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.033, allocations: 0.5702 MB / 0.947 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.033, allocations: 5.438 kB / 0.947 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008214/1.034, allocations: 257.3 kB / 0.9473 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/1.035, allocations: 70.8 kB / 0.9473 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/1.036, allocations: 0.6855 MB / 0.948 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/1.037, allocations: 0.7631 MB / 0.9487 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001995/1.037, allocations: 25.94 kB / 0.9488 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/1.037, allocations: 23.12 kB / 0.9488 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/1.037, allocations: 4 kB / 0.9488 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.01299/1.05, allocations: 7.164 MB / 0.9558 GB, free: 13.59 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)