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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 185 kB / 377.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.6366 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.000887, allocations: 89.16 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 15.98 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 116.3 MB / 0.9884 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.281/5.559, allocations: 2.065 GB / 3.054 GB, free: 116.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/5.56, allocations: 102.4 kB / 3.054 GB, free: 116.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1051/5.665, allocations: 50.98 MB / 3.104 GB, free: 66.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.997e-06/5.665, allocations: 0 / 3.104 GB, free: 66.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.926e-05/5.665, allocations: 4 kB / 3.104 GB, free: 66.62 MB / 0.948 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.00186/5.667, allocations: 0.7015 MB / 3.105 GB, free: 65.86 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/5.667, allocations: 8.031 kB / 3.105 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/5.667, allocations: 50.5 kB / 3.105 GB, free: 65.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/5.669, allocations: 155.5 kB / 3.105 GB, free: 65.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/5.669, allocations: 318.3 kB / 3.105 GB, free: 65.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/5.669, allocations: 46.55 kB / 3.105 GB, free: 65.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/5.669, allocations: 20 kB / 3.105 GB, free: 65.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/5.67, allocations: 220.1 kB / 3.105 GB, free: 65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/5.67, allocations: 3.938 kB / 3.105 GB, free: 64.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/5.67, allocations: 8 kB / 3.105 GB, free: 64.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/5.67, allocations: 0 / 3.105 GB, free: 64.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/5.67, allocations: 124.2 kB / 3.105 GB, free: 64.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/5.673, allocations: 1.025 MB / 3.106 GB, free: 63.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/5.673, allocations: 174.4 kB / 3.107 GB, free: 63.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/5.673, allocations: 8.734 kB / 3.107 GB, free: 63.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/5.674, allocations: 204.9 kB / 3.107 GB, free: 63.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/5.674, allocations: 0 / 3.107 GB, free: 63.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.004293/5.678, allocations: 0.9887 MB / 3.108 GB, free: 62.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/5.678, allocations: 81.11 kB / 3.108 GB, free: 62.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/5.678, allocations: 303.5 kB / 3.108 GB, free: 61.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/5.678, allocations: 37.69 kB / 3.108 GB, free: 61.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/5.679, allocations: 152.6 kB / 3.108 GB, free: 61.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/5.679, allocations: 60.03 kB / 3.108 GB, free: 61.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/5.679, allocations: 8 kB / 3.108 GB, free: 61.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/5.679, allocations: 338.8 kB / 3.109 GB, free: 61.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/5.679, allocations: 144.5 kB / 3.109 GB, free: 61.19 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/5.679, allocations: 233.3 kB / 3.109 GB, free: 60.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/5.68, allocations: 186.7 kB / 3.109 GB, free: 60.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/5.68, allocations: 0 / 3.109 GB, free: 60.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003686/5.683, allocations: 0.8884 MB / 3.11 GB, free: 59.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/5.683, allocations: 41.69 kB / 3.11 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/5.683, allocations: 4.938 kB / 3.11 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/5.684, allocations: 205.7 kB / 3.11 GB, free: 59.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/5.685, allocations: 39.91 kB / 3.11 GB, free: 59.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/5.687, allocations: 2.248 MB / 3.113 GB, free: 57.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/5.688, allocations: 43.67 kB / 3.113 GB, free: 57.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/5.688, allocations: 23.97 kB / 3.113 GB, free: 57.07 MB / 0.948 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.0002237/5.688, allocations: 187.8 kB / 3.113 GB, free: 56.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/5.688, allocations: 35.56 kB / 3.113 GB, free: 56.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/5.688, allocations: 31.17 kB / 3.113 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/5.688, allocations: 4 kB / 3.113 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/5.688, allocations: 0 / 3.113 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/5.688, allocations: 0 / 3.113 GB, free: 56.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/5.691, allocations: 1.073 MB / 3.114 GB, free: 55.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/5.691, allocations: 4 kB / 3.114 GB, free: 55.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/5.691, allocations: 8.875 kB / 3.114 GB, free: 55.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003303/5.692, allocations: 112.8 kB / 3.114 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/5.692, allocations: 11.98 kB / 3.114 GB, free: 55.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007639/5.693, allocations: 0.7538 MB / 3.115 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/5.693, allocations: 4 kB / 3.115 GB, free: 54.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/5.696, allocations: 0.9242 MB / 3.116 GB, free: 53.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/5.696, allocations: 136.7 kB / 3.116 GB, free: 53.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/5.696, allocations: 4 kB / 3.116 GB, free: 53.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/5.696, allocations: 20.05 kB / 3.116 GB, free: 53.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/5.696, allocations: 7.984 kB / 3.116 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/5.697, allocations: 17.2 kB / 3.116 GB, free: 53.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002734/5.697, allocations: 235 kB / 3.116 GB, free: 53.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.697, allocations: 0 / 3.116 GB, free: 53.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007429/5.698, allocations: 171.8 kB / 3.116 GB, free: 53.2 MB / 0.948 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.001947/5.7, allocations: 1.765 MB / 3.118 GB, free: 51.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001543/5.701, allocations: 0.5578 MB / 3.119 GB, free: 50.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/5.701, allocations: 0 / 3.119 GB, free: 50.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007111/5.702, allocations: 256.8 kB / 3.119 GB, free: 50.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/5.702, allocations: 58.45 kB / 3.119 GB, free: 50.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/5.704, allocations: 1.643 MB / 3.12 GB, free: 48.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/5.704, allocations: 0.7715 MB / 3.121 GB, free: 48 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001617/5.704, allocations: 27.52 kB / 3.121 GB, free: 47.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/5.704, allocations: 87.39 kB / 3.121 GB, free: 47.89 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/5.704, allocations: 0.9375 kB / 3.121 GB, free: 47.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/5.737, allocations: 19.45 MB / 3.14 GB, free: 28.68 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/5.738, allocations: 245.4 kB / 3.141 GB, free: 28.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/8.443, allocations: 0 / 3.141 GB, free: 28.43 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)