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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 187.8 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.000873, allocations: 94.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 9.125 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003057/0.2292, allocations: 1.974 MB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1427/0.3719, allocations: 127.5 MB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.3722, allocations: 4 kB / 1.027 GB, free: 14 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3726, allocations: 75.67 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.3732, allocations: 227.3 kB / 1.027 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3748, allocations: 0.5156 MB / 1.027 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.3752, allocations: 267.4 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3754, allocations: 36.72 kB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3756, allocations: 163.5 kB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.3759, allocations: 183.3 kB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.3759, allocations: 16 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3771, allocations: 0.5188 MB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3772, allocations: 63.78 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.998e-05/0.3773, allocations: 73.58 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.3779, allocations: 455.2 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.378, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.378, allocations: 3.938 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.378, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 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.001482/0.3795, allocations: 0.6792 MB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3795, allocations: 8.031 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.3796, allocations: 50.55 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.3811, allocations: 155.5 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.3816, allocations: 306.4 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.756e-05/0.3817, allocations: 45.66 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.3817, allocations: 20 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.3822, allocations: 208.1 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3822, allocations: 4 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.3822, allocations: 7.938 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3822, allocations: 4 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.3825, allocations: 126.1 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.3851, allocations: 0.9887 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.3858, allocations: 166.4 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3859, allocations: 0 / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.3863, allocations: 193 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.3863, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.004037/0.3903, allocations: 0.9541 MB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3904, allocations: 81.11 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.3908, allocations: 340.4 kB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.3909, allocations: 33.7 kB / 1.033 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.391, allocations: 152.6 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.3911, allocations: 55.19 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.3911, allocations: 12 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3913, allocations: 338.8 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.3916, allocations: 136.5 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.392, allocations: 217.4 kB / 1.034 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.3924, allocations: 170.8 kB / 1.034 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3924, allocations: 4 kB / 1.034 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00357/0.396, allocations: 0.8635 MB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.396, allocations: 41.69 kB / 1.035 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.396, allocations: 7.953 kB / 1.035 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009354/0.397, allocations: 209.6 kB / 1.035 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3972, allocations: 39.91 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.4001, allocations: 2.252 MB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.4006, allocations: 43.58 kB / 1.038 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.4007, allocations: 27.92 kB / 1.038 GB, free: 2.035 MB / 0.6823 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.0002568/0.4009, allocations: 183.5 kB / 1.038 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.401, allocations: 31.62 kB / 1.038 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.401, allocations: 31.17 kB / 1.038 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.401, allocations: 0 / 1.038 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4011, allocations: 4 kB / 1.038 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4011, allocations: 0 / 1.038 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.4043, allocations: 1.053 MB / 1.039 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4043, allocations: 0 / 1.039 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.4043, allocations: 7.984 kB / 1.039 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003395/0.4047, allocations: 120.7 kB / 1.039 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.4047, allocations: 11.98 kB / 1.039 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009299/0.4057, allocations: 0.7459 MB / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4057, allocations: 0 / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.4087, allocations: 0.8765 MB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.409, allocations: 132.7 kB / 1.041 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.409, allocations: 8 kB / 1.041 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002501/0.4093, allocations: 11.98 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4094, allocations: 15.94 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.4094, allocations: 11.98 kB / 1.041 GB, free: 14.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000289/0.4097, allocations: 239.1 kB / 1.041 GB, free: 14.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4097, allocations: 3.938 kB / 1.041 GB, free: 14.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005468/0.4103, allocations: 123.8 kB / 1.041 GB, free: 14.3 MB / 0.698 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.001586/0.4118, allocations: 1.23 MB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.4134, allocations: 0.554 MB / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4134, allocations: 0 / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.4142, allocations: 256.2 kB / 1.043 GB, free: 12.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4146, allocations: 57.02 kB / 1.043 GB, free: 12.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4167, allocations: 1.633 MB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4171, allocations: 0.7716 MB / 1.046 GB, free: 9.645 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000166/0.4173, allocations: 30.23 kB / 1.046 GB, free: 9.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.4174, allocations: 83.41 kB / 1.046 GB, free: 9.535 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/0.4174, allocations: 0 / 1.046 GB, free: 9.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.4425, allocations: 9.475 MB / 1.055 GB, free: 368 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.4428, allocations: 260 kB / 1.055 GB, free: 16 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.665, allocations: 0 / 1.055 GB, free: 16 kB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)