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.389/1.389, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009657/0.0009657, allocations: 181.2 kB / 325.9 MB, free: 2.695 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.432/1.432, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006799/0.0006802, allocations: 82.06 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002737, allocations: 11.97 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1491, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.001996/0.1511, allocations: 2.141 MB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1244/0.2755, allocations: 148.7 MB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.2758, allocations: 8 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.2761, allocations: 71.64 kB / 1.044 GB, free: 12.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000504/0.2766, allocations: 206.9 kB / 1.044 GB, free: 12.37 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.278, allocations: 0.582 MB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.2784, allocations: 422.5 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2785, allocations: 48.7 kB / 1.045 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2787, allocations: 155.5 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.279, allocations: 191.3 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.279, allocations: 16 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.28, allocations: 0.6589 MB / 1.046 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.2801, allocations: 83.66 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.2803, allocations: 143.2 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.281, allocations: 0.6349 MB / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.281, allocations: 0 / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2811, allocations: 4 kB / 1.047 GB, free: 9.453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2811, allocations: 0 / 1.047 GB, free: 9.453 MB / 0.698 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.001303/0.2824, allocations: 0.6833 MB / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2824, allocations: 8.031 kB / 1.047 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.2825, allocations: 54.67 kB / 1.047 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2839, allocations: 160.4 kB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2843, allocations: 314.5 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.2843, allocations: 45.7 kB / 1.048 GB, free: 8.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.179e-05/0.2844, allocations: 23.91 kB / 1.048 GB, free: 8.066 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.2848, allocations: 204.1 kB / 1.048 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2848, allocations: 0 / 1.048 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.2848, allocations: 8 kB / 1.048 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2848, allocations: 4 kB / 1.048 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2851, allocations: 124 kB / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.2873, allocations: 0.9887 MB / 1.049 GB, free: 6.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.288, allocations: 170.5 kB / 1.049 GB, free: 6.496 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.2882, allocations: 96.77 kB / 1.049 GB, free: 6.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.2882, allocations: 7.984 kB / 1.049 GB, free: 6.391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003276/0.2885, allocations: 199.3 kB / 1.05 GB, free: 6.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.2886, allocations: 0 / 1.05 GB, free: 6.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.003765/0.2923, allocations: 0.879 MB / 1.05 GB, free: 5.266 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2924, allocations: 85.09 kB / 1.051 GB, free: 5.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.2927, allocations: 336.5 kB / 1.051 GB, free: 4.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2928, allocations: 29.7 kB / 1.051 GB, free: 4.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.2929, allocations: 148.6 kB / 1.051 GB, free: 4.645 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.293, allocations: 63.14 kB / 1.051 GB, free: 4.582 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.293, allocations: 45.7 kB / 1.051 GB, free: 4.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2932, allocations: 350.7 kB / 1.052 GB, free: 4.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.2935, allocations: 132.5 kB / 1.052 GB, free: 4.051 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2938, allocations: 221.4 kB / 1.052 GB, free: 3.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.2944, allocations: 344.9 kB / 1.052 GB, free: 3.457 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2944, allocations: 0 / 1.052 GB, free: 3.457 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003415/0.2978, allocations: 0.8672 MB / 1.053 GB, free: 2.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.2979, allocations: 41.69 kB / 1.053 GB, free: 2.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2979, allocations: 3.938 kB / 1.053 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.2987, allocations: 193.6 kB / 1.053 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.299, allocations: 47.84 kB / 1.053 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3193/0.6183, allocations: 2.225 MB / 1.055 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.6189, allocations: 45.81 kB / 1.056 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.619, allocations: 22.38 kB / 1.056 GB, free: 159.9 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 ($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.0002322/0.6192, allocations: 196.7 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.6193, allocations: 30.42 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.6193, allocations: 28.72 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6193, allocations: 2.625 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6194, allocations: 1.25 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6194, allocations: 2.594 kB / 1.056 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.6224, allocations: 1.05 MB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6225, allocations: 0 / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.6225, allocations: 5.344 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.6228, allocations: 115.7 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.6228, allocations: 12.16 kB / 1.057 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006816/0.6235, allocations: 0.7519 MB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6235, allocations: 8.969 kB / 1.058 GB, free: 158.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.6263, allocations: 0.8795 MB / 1.059 GB, free: 158.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6265, allocations: 133.9 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.6265, allocations: 10.75 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.6268, allocations: 18.77 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6268, allocations: 9.312 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.6269, allocations: 11.02 kB / 1.059 GB, free: 158.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002322/0.6271, allocations: 238.8 kB / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6271, allocations: 0 / 1.059 GB, free: 158.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004162/0.6275, allocations: 109.3 kB / 1.059 GB, free: 158.5 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 (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.001213/0.6288, allocations: 1.232 MB / 1.06 GB, free: 157.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.6301, allocations: 0.5696 MB / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6301, allocations: 0 / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.6308, allocations: 253.4 kB / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.6312, allocations: 61.28 kB / 1.061 GB, free: 157.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6415, allocations: 4.449 MB / 1.065 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.6417, allocations: 0.7607 MB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.6418, allocations: 34.75 kB / 1.066 GB, free: 155.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.642, allocations: 84.84 kB / 1.066 GB, free: 155.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.642, allocations: 0 / 1.066 GB, free: 155.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1801/0.8221, allocations: 9.683 MB / 1.076 GB, free: 152.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.8223, allocations: 284 kB / 1.076 GB, free: 152.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.129, allocations: 4 kB / 1.076 GB, free: 152.2 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)