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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009909, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00932/0.00932, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.643/1.643, allocations: 252 MB / 0.5105 GB, free: 4.715 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005338, allocations: 23.94 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5458, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002893/0.5487, allocations: 2.112 MB / 0.7308 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.7123, allocations: 147.1 MB / 0.8745 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.7126, allocations: 3.938 kB / 0.8745 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.713, allocations: 77.59 kB / 0.8745 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.7137, allocations: 218.8 kB / 0.8748 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.7154, allocations: 0.5735 MB / 0.8753 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.7159, allocations: 406.7 kB / 0.8757 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.716, allocations: 44.72 kB / 0.8757 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.7163, allocations: 163.4 kB / 0.8759 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.7166, allocations: 183.3 kB / 0.8761 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.7167, allocations: 16 kB / 0.8761 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.7179, allocations: 0.6706 MB / 0.8767 GB, free: 3.164 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.718, allocations: 71.72 kB / 0.8768 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.7182, allocations: 176.9 kB / 0.877 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.7193, allocations: 0.6426 MB / 0.8776 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7194, allocations: 0 / 0.8776 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7194, allocations: 0 / 0.8776 GB, free: 2.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.7194, allocations: 0 / 0.8776 GB, free: 2.27 MB / 0.6856 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.001709/0.7211, allocations: 0.6872 MB / 0.8783 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7212, allocations: 8.031 kB / 0.8783 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.7228, allocations: 152.4 kB / 0.8784 GB, free: 1.371 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.7233, allocations: 314.7 kB / 0.8787 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.7234, allocations: 49.69 kB / 0.8788 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.7235, allocations: 23.94 kB / 0.8788 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.7239, allocations: 212.8 kB / 0.879 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7239, allocations: 0 / 0.879 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.7239, allocations: 15.91 kB / 0.879 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.724, allocations: 4 kB / 0.879 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.7242, allocations: 116.1 kB / 0.8791 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.7269, allocations: 0.9964 MB / 0.8801 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.7276, allocations: 162.5 kB / 0.8803 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.7279, allocations: 100.8 kB / 0.8804 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.7279, allocations: 3.984 kB / 0.8804 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.7283, allocations: 200.9 kB / 0.8806 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.7283, allocations: 0 / 0.8806 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.004218/0.7325, allocations: 0.8815 MB / 0.8814 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7326, allocations: 81.11 kB / 0.8815 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.7331, allocations: 340.4 kB / 0.8818 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.7332, allocations: 33.7 kB / 0.8818 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7333, allocations: 152.6 kB / 0.882 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.7334, allocations: 59.23 kB / 0.8821 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.7334, allocations: 41.64 kB / 0.8821 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7336, allocations: 342.8 kB / 0.8824 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.7339, allocations: 140.5 kB / 0.8826 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.7343, allocations: 221.4 kB / 0.8828 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.735, allocations: 352.8 kB / 0.8831 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.735, allocations: 0 / 0.8831 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003785/0.7388, allocations: 0.8672 MB / 0.8839 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.7389, allocations: 33.69 kB / 0.884 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.7389, allocations: 4 kB / 0.884 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.7398, allocations: 201.7 kB / 0.8842 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.7401, allocations: 39.91 kB / 0.8842 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.7431, allocations: 2.231 MB / 0.8864 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.7436, allocations: 47.56 kB / 0.8864 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.7437, allocations: 19.98 kB / 0.8865 GB, free: 8.684 MB / 0.7012 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.0002916/0.744, allocations: 194.2 kB / 0.8866 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.7441, allocations: 31.8 kB / 0.8867 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.7441, allocations: 27.19 kB / 0.8867 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7442, allocations: 11.92 kB / 0.8867 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7442, allocations: 3.984 kB / 0.8867 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.7442, allocations: 0 / 0.8867 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/0.7476, allocations: 1.043 MB / 0.8877 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7476, allocations: 0 / 0.8877 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.7477, allocations: 12 kB / 0.8877 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003125/0.748, allocations: 112.8 kB / 0.8878 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.748, allocations: 8 kB / 0.8879 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008959/0.7489, allocations: 0.7498 MB / 0.8886 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.749, allocations: 4 kB / 0.8886 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.7522, allocations: 0.8861 MB / 0.8895 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.7523, allocations: 136.6 kB / 0.8896 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.7524, allocations: 8 kB / 0.8896 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.7527, allocations: 16.05 kB / 0.8896 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.7527, allocations: 11.98 kB / 0.8896 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.7528, allocations: 8 kB / 0.8896 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003084/0.7531, allocations: 243 kB / 0.8899 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7531, allocations: 0 / 0.8899 GB, free: 5.051 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005155/0.7536, allocations: 108 kB / 0.89 GB, free: 4.945 MB / 0.7012 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.0003904/0.754, allocations: 189.3 kB / 0.8901 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.7556, allocations: 0.5699 MB / 0.8907 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7556, allocations: 4.062 kB / 0.8907 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.7564, allocations: 244.2 kB / 0.8909 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.7569, allocations: 66.05 kB / 0.891 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.7584, allocations: 0.7176 MB / 0.8917 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.7587, allocations: 0.756 MB / 0.8924 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.7589, allocations: 30.3 kB / 0.8925 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.759, allocations: 23.42 kB / 0.8925 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.759, allocations: 0 / 0.8925 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of Templates: time 0.01292/0.7719, allocations: 6.83 MB / 0.8992 GB, free: 11.52 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) Environment - environmentSimulation: