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.363/1.363, allocations: 252 MB / 267 MB, free: 10.98 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.001053/0.001053, allocations: 179.1 kB / 326.6 MB, free: 2.234 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.533/1.533, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0009282/0.000928, allocations: 96 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 9.438 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1811, allocations: 106.4 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002397/0.1836, allocations: 2.039 MB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1288/0.3124, allocations: 137.1 MB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.3127, allocations: 0 / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.313, allocations: 91.55 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.3137, allocations: 198.9 kB / 1.037 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3152, allocations: 0.5072 MB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.3157, allocations: 374.7 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3158, allocations: 36.72 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.3161, allocations: 163.4 kB / 1.038 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.3165, allocations: 183.4 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.3165, allocations: 16 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.3176, allocations: 0.4953 MB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.3177, allocations: 67.72 kB / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.3178, allocations: 73.58 kB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3184, allocations: 455.2 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3184, allocations: 0 / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3184, allocations: 0 / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.3184, allocations: 7.938 kB / 1.039 GB, free: 1.578 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.001469/0.3199, allocations: 0.6831 MB / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.32, allocations: 16.02 kB / 1.039 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.297e-05/0.32, allocations: 42.56 kB / 1.04 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.3216, allocations: 155.5 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3221, allocations: 306.4 kB / 1.04 GB, free: 288 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.3222, allocations: 49.66 kB / 1.04 GB, free: 232 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.3223, allocations: 19.98 kB / 1.04 GB, free: 212 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.3228, allocations: 204.1 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3228, allocations: 0 / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.3228, allocations: 8 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3228, allocations: 8 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.3231, allocations: 119.1 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.3257, allocations: 1.004 MB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.3265, allocations: 158.5 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3268, allocations: 100.8 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3268, allocations: 3.953 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.3272, allocations: 188.9 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/0.3272, allocations: 0 / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004606/0.3318, allocations: 0.8854 MB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.3319, allocations: 81.11 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.3323, allocations: 344.4 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.3324, allocations: 29.7 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3325, allocations: 152.6 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.3326, allocations: 55.25 kB / 1.043 GB, free: 12.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3326, allocations: 4 kB / 1.043 GB, free: 12.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3327, allocations: 342.8 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.3331, allocations: 144.5 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.3335, allocations: 217.3 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3339, allocations: 178.8 kB / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3339, allocations: 0 / 1.044 GB, free: 11.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004075/0.338, allocations: 0.8635 MB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.3381, allocations: 43.83 kB / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3381, allocations: 0 / 1.045 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009824/0.3391, allocations: 205.6 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.3394, allocations: 35.97 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.3423, allocations: 2.244 MB / 1.047 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.3428, allocations: 51.5 kB / 1.047 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.3429, allocations: 19.98 kB / 1.047 GB, free: 8.18 MB / 0.698 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.0002382/0.3431, allocations: 183.4 kB / 1.048 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.3432, allocations: 35.62 kB / 1.048 GB, free: 7.949 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3432, allocations: 31.17 kB / 1.048 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3432, allocations: 4 kB / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3432, allocations: 0 / 1.048 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3432, allocations: 3.984 kB / 1.048 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003553/0.3468, allocations: 1.043 MB / 1.049 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3468, allocations: 0 / 1.049 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.3469, allocations: 8 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/0.3472, allocations: 120.7 kB / 1.049 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.3473, allocations: 4 kB / 1.049 GB, free: 6.672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009237/0.3482, allocations: 0.7527 MB / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3482, allocations: 0 / 1.05 GB, free: 5.898 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.3518, allocations: 0.8861 MB / 1.05 GB, free: 4.988 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.3519, allocations: 128.8 kB / 1.051 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.352, allocations: 4 kB / 1.051 GB, free: 4.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3523, allocations: 15.98 kB / 1.051 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.3524, allocations: 11.94 kB / 1.051 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.3524, allocations: 16.06 kB / 1.051 GB, free: 4.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003085/0.3527, allocations: 235 kB / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3527, allocations: 0 / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007309/0.3535, allocations: 119.8 kB / 1.051 GB, free: 4.453 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.001688/0.3552, allocations: 1.235 MB / 1.052 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.3569, allocations: 0.5617 MB / 1.053 GB, free: 2.594 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3569, allocations: 4 kB / 1.053 GB, free: 2.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.3577, allocations: 248.2 kB / 1.053 GB, free: 2.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.3582, allocations: 62.83 kB / 1.053 GB, free: 2.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3264/0.6846, allocations: 2.505 MB / 1.055 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.6848, allocations: 0.7607 MB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.685, allocations: 33.38 kB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6852, allocations: 85.75 kB / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.6852, allocations: 0 / 1.056 GB, free: 154.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.7102, allocations: 9.643 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.7104, allocations: 268.8 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.933, allocations: 0.7188 kB / 1.066 GB, free: 152.9 MB / 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)