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.001338/0.001338, allocations: 105 kB / 16.36 MB, free: 6.426 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.001484/0.001484, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.341/1.341, 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.945/1.945, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001375/0.001375, allocations: 75.02 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1972, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003517/0.2007, allocations: 2.403 MB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5023/0.7031, allocations: 150.9 MB / 0.9346 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.7033, allocations: 0 / 0.9346 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.7036, allocations: 89.69 kB / 0.9346 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.7043, allocations: 242.6 kB / 0.9349 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.7058, allocations: 0.6531 MB / 0.9355 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.7063, allocations: 442.5 kB / 0.9359 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.7064, allocations: 46.02 kB / 0.936 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.7067, allocations: 187.4 kB / 0.9362 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.707, allocations: 203.3 kB / 0.9363 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.7071, allocations: 28 kB / 0.9364 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.7083, allocations: 0.6161 MB / 0.937 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.7084, allocations: 79.78 kB / 0.9371 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.7086, allocations: 163.2 kB / 0.9372 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.7095, allocations: 0.6582 MB / 0.9379 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7095, allocations: 0 / 0.9379 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7095, allocations: 4 kB / 0.9379 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.7096, allocations: 0 / 0.9379 GB, free: 13.39 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.001549/0.7111, allocations: 0.7404 MB / 0.9386 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.7112, allocations: 8.031 kB / 0.9386 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.7128, allocations: 160.6 kB / 0.9387 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.7132, allocations: 311.5 kB / 0.939 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.7133, allocations: 45.7 kB / 0.9391 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.7134, allocations: 27.92 kB / 0.9391 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.7138, allocations: 204.1 kB / 0.9393 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.7139, allocations: 0 / 0.9393 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.7139, allocations: 8 kB / 0.9393 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.7139, allocations: 4 kB / 0.9393 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.7142, allocations: 124.1 kB / 0.9394 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.7168, allocations: 0.9847 MB / 0.9404 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.7176, allocations: 158.5 kB / 0.9405 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.7179, allocations: 104.8 kB / 0.9406 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.7179, allocations: 0 / 0.9406 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.7184, allocations: 192.9 kB / 0.9408 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.7184, allocations: 0 / 0.9408 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004459/0.7228, allocations: 0.8646 MB / 0.9417 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.7229, allocations: 85.05 kB / 0.9418 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.7234, allocations: 336.5 kB / 0.9421 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.7234, allocations: 33.7 kB / 0.9421 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.7236, allocations: 152.5 kB / 0.9423 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.7236, allocations: 59.25 kB / 0.9423 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7238, allocations: 77.94 kB / 0.9424 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7239, allocations: 350.7 kB / 0.9427 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.7243, allocations: 132.5 kB / 0.9428 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.7247, allocations: 221.4 kB / 0.9431 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.7254, allocations: 338 kB / 0.9434 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.7254, allocations: 0 / 0.9434 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003858/0.7293, allocations: 0.8495 MB / 0.9442 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.7294, allocations: 38.55 kB / 0.9442 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7294, allocations: 8.062 kB / 0.9443 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/0.7304, allocations: 205.5 kB / 0.9444 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.7306, allocations: 37.11 kB / 0.9445 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.7338, allocations: 2.334 MB / 0.9468 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005299/0.7344, allocations: 43.58 kB / 0.9468 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.7345, allocations: 23.97 kB / 0.9468 GB, free: 3.699 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.0002632/0.7347, allocations: 197.7 kB / 0.947 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.7348, allocations: 31.62 kB / 0.947 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.7349, allocations: 27.17 kB / 0.9471 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7349, allocations: 0 / 0.9471 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7349, allocations: 3.938 kB / 0.9471 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.7349, allocations: 1.688 kB / 0.9471 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.7383, allocations: 1.036 MB / 0.9481 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7383, allocations: 0 / 0.9481 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.7384, allocations: 8 kB / 0.9481 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/0.7387, allocations: 117.9 kB / 0.9482 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.7388, allocations: 11.98 kB / 0.9482 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000933/0.7397, allocations: 0.7498 MB / 0.949 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7397, allocations: 0 / 0.949 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.7431, allocations: 0.8682 MB / 0.9498 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.7433, allocations: 136.7 kB / 0.9499 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.7433, allocations: 15.92 kB / 0.9499 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.7436, allocations: 12.06 kB / 0.95 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.7437, allocations: 11.98 kB / 0.95 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.7437, allocations: 7.984 kB / 0.95 GB, free: 356 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002915/0.744, allocations: 239 kB / 0.9502 GB, free: 120 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.744, allocations: 3.938 kB / 0.9502 GB, free: 116 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005563/0.7446, allocations: 112 kB / 0.9503 GB, free: 4 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.0003666/0.745, allocations: 188.2 kB / 0.9505 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.7466, allocations: 0.5631 MB / 0.951 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7466, allocations: 4.188 kB / 0.951 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.7474, allocations: 260.1 kB / 0.9513 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.748, allocations: 60.72 kB / 0.9514 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.7493, allocations: 0.6046 MB / 0.9519 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.7496, allocations: 0.7598 MB / 0.9527 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.7497, allocations: 37.77 kB / 0.9527 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/0.7498, allocations: 23.38 kB / 0.9527 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.7498, allocations: 0 / 0.9527 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of Templates: time 0.01233/0.7621, allocations: 7.212 MB / 0.9598 GB, free: 6.371 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)