Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.462/1.462, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0008873/0.0008873, allocations: 180.4 kB / 372.2 MB, free: 10.14 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.195/1.195, allocations: 205.4 MB / 0.631 GB, free: 9.805 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000698/0.000698, allocations: 100.8 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004389, allocations: 13.28 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002039/0.1901, allocations: 2.036 MB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.525/0.7152, allocations: 137.1 MB / 1.116 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.7155, allocations: 6.656 kB / 1.116 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.7158, allocations: 82.28 kB / 1.116 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.7164, allocations: 202.6 kB / 1.116 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.7178, allocations: 0.549 MB / 1.117 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.7182, allocations: 381.9 kB / 1.117 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.7183, allocations: 44.55 kB / 1.117 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.7185, allocations: 154.5 kB / 1.117 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.7188, allocations: 178.5 kB / 1.118 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.7188, allocations: 15.94 kB / 1.118 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.72, allocations: 0.6575 MB / 1.118 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.7201, allocations: 63.83 kB / 1.118 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.7204, allocations: 168.4 kB / 1.119 GB, free: 18.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.721, allocations: 467 kB / 1.119 GB, free: 18.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7211, allocations: 0 / 1.119 GB, free: 18.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7211, allocations: 1.859 kB / 1.119 GB, free: 18.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7211, allocations: 0 / 1.119 GB, free: 18.14 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.001319/0.7224, allocations: 0.6887 MB / 1.12 GB, free: 17.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.7225, allocations: 8.969 kB / 1.12 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.7225, allocations: 48.73 kB / 1.12 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.7238, allocations: 157.1 kB / 1.12 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.7242, allocations: 322.2 kB / 1.12 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.7243, allocations: 47.02 kB / 1.12 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.7243, allocations: 20.16 kB / 1.12 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.7247, allocations: 207.9 kB / 1.12 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.7247, allocations: 3.938 kB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.7247, allocations: 6.219 kB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7248, allocations: 2.031 kB / 1.12 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.725, allocations: 120.9 kB / 1.121 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.7272, allocations: 0.9938 MB / 1.122 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.7279, allocations: 174.9 kB / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.7281, allocations: 98 kB / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.7281, allocations: 0 / 1.122 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.7285, allocations: 190.6 kB / 1.122 GB, free: 16.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.7285, allocations: 5 kB / 1.122 GB, free: 16.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.003803/0.7323, allocations: 0.8786 MB / 1.123 GB, free: 16.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.7324, allocations: 79.61 kB / 1.123 GB, free: 16.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.7328, allocations: 340.6 kB / 1.123 GB, free: 16.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.7329, allocations: 33.2 kB / 1.123 GB, free: 16.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.733, allocations: 149.5 kB / 1.123 GB, free: 16.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.733, allocations: 58.31 kB / 1.123 GB, free: 16.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.7331, allocations: 13.72 kB / 1.123 GB, free: 16.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7332, allocations: 344.3 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.7335, allocations: 136 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.7339, allocations: 218.1 kB / 1.124 GB, free: 15.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.7344, allocations: 348.7 kB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7344, allocations: 1.5 kB / 1.124 GB, free: 15.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003302/0.7377, allocations: 0.8593 MB / 1.125 GB, free: 15.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.7378, allocations: 38.66 kB / 1.125 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7378, allocations: 3.562 kB / 1.125 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/0.7387, allocations: 201.4 kB / 1.126 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.7389, allocations: 41.88 kB / 1.126 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04305/0.782, allocations: 2.248 MB / 1.128 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.7826, allocations: 42.67 kB / 1.128 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.7826, allocations: 21.81 kB / 1.128 GB, free: 13.43 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,$whenCondition2,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.000251/0.7829, allocations: 189.5 kB / 1.128 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.783, allocations: 33.38 kB / 1.128 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.783, allocations: 34.89 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.783, allocations: 3.031 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.783, allocations: 1.062 kB / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.783, allocations: 0 / 1.128 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.786, allocations: 1.043 MB / 1.129 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.7861, allocations: 0 / 1.129 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.7861, allocations: 8.016 kB / 1.129 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.7864, allocations: 121.3 kB / 1.129 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.7865, allocations: 6.859 kB / 1.129 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008131/0.7873, allocations: 0.7567 MB / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7873, allocations: 0 / 1.13 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.79, allocations: 0.8916 MB / 1.131 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.7902, allocations: 129.5 kB / 1.131 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.7903, allocations: 8.75 kB / 1.131 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.7905, allocations: 14.08 kB / 1.131 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.7906, allocations: 11.31 kB / 1.131 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.7906, allocations: 16.42 kB / 1.131 GB, free: 11.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002727/0.7909, allocations: 234.4 kB / 1.131 GB, free: 11.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7909, allocations: 0 / 1.131 GB, free: 11.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000517/0.7914, allocations: 109.9 kB / 1.131 GB, free: 11.82 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.001389/0.7928, allocations: 1.23 MB / 1.133 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.7942, allocations: 0.5619 MB / 1.133 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7942, allocations: 6.469 kB / 1.133 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.7949, allocations: 253.7 kB / 1.133 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.7955, allocations: 61.92 kB / 1.133 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.8018, allocations: 2.515 MB / 1.136 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.8022, allocations: 0.7562 MB / 1.137 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.8024, allocations: 34.05 kB / 1.137 GB, free: 9.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.8025, allocations: 84.45 kB / 1.137 GB, free: 9.316 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.8025, allocations: 0 / 1.137 GB, free: 9.316 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.812, allocations: 9.676 MB / 1.146 GB, free: 4.984 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/1.812, allocations: 260.2 kB / 1.146 GB, free: 4.648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/4.367, allocations: 0 / 1.146 GB, free: 4.648 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)