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.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 195.1 kB / 16.53 MB, free: 6.656 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.414/1.414, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.577/1.577, allocations: 251.7 MB / 0.5092 GB, free: 3.141 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.002694/0.002694, allocations: 76.28 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6774/0.6801, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004342/0.6845, allocations: 2.402 MB / 0.7269 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1874/0.872, allocations: 151 MB / 0.8743 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.8723, allocations: 7.938 kB / 0.8743 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.8727, allocations: 93.39 kB / 0.8744 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.8734, allocations: 242.6 kB / 0.8746 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.8751, allocations: 0.6472 MB / 0.8753 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.8756, allocations: 434.6 kB / 0.8757 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.8757, allocations: 44.73 kB / 0.8757 GB, free: 1.492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.8759, allocations: 179.4 kB / 0.8759 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.8763, allocations: 195.4 kB / 0.8761 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.8763, allocations: 32 kB / 0.8761 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.8775, allocations: 0.6161 MB / 0.8767 GB, free: 488 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.8777, allocations: 83.72 kB / 0.8768 GB, free: 404 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.8778, allocations: 175.1 kB / 0.877 GB, free: 228 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.8789, allocations: 0.6389 MB / 0.8776 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8789, allocations: 0 / 0.8776 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8789, allocations: 3.938 kB / 0.8776 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.8789, allocations: 0 / 0.8776 GB, free: 15.58 MB / 0.7012 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.00207/0.881, allocations: 0.7455 MB / 0.8783 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.053e-05/0.8811, allocations: 8.031 kB / 0.8783 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.8829, allocations: 160.4 kB / 0.8785 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.8835, allocations: 314.6 kB / 0.8788 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.199e-05/0.8836, allocations: 45.7 kB / 0.8788 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.8837, allocations: 24 kB / 0.8788 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.8842, allocations: 208.1 kB / 0.879 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8842, allocations: 4 kB / 0.879 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.8843, allocations: 4 kB / 0.879 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.8843, allocations: 4 kB / 0.879 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.8846, allocations: 124.1 kB / 0.8792 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.8871, allocations: 0.9848 MB / 0.8801 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.8879, allocations: 158.5 kB / 0.8803 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.8881, allocations: 100.8 kB / 0.8804 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.8882, allocations: 4 kB / 0.8804 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.8887, allocations: 197 kB / 0.8806 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.8887, allocations: 3.938 kB / 0.8806 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.00413/0.8928, allocations: 0.8471 MB / 0.8814 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.8929, allocations: 85.11 kB / 0.8815 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.8933, allocations: 336.4 kB / 0.8818 GB, free: 11 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.8934, allocations: 37.64 kB / 0.8818 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.8935, allocations: 156.5 kB / 0.882 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.8936, allocations: 59.25 kB / 0.882 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.8937, allocations: 85.94 kB / 0.8821 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8939, allocations: 346.7 kB / 0.8825 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.8942, allocations: 136.5 kB / 0.8826 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.8946, allocations: 217.4 kB / 0.8828 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000643/0.8953, allocations: 340.8 kB / 0.8831 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8953, allocations: 0 / 0.8831 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003692/0.899, allocations: 0.8513 MB / 0.8839 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.8991, allocations: 35.58 kB / 0.884 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8991, allocations: 64 / 0.884 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/0.9001, allocations: 205.5 kB / 0.8842 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.9004, allocations: 35.98 kB / 0.8842 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.9038, allocations: 2.351 MB / 0.8865 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005517/0.9043, allocations: 51.59 kB / 0.8866 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.9044, allocations: 23.98 kB / 0.8866 GB, free: 5.836 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.0002861/0.9047, allocations: 180.8 kB / 0.8868 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.9048, allocations: 31.62 kB / 0.8868 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.9048, allocations: 31.17 kB / 0.8868 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9048, allocations: 0 / 0.8868 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9048, allocations: 4 kB / 0.8868 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.9048, allocations: 11.92 kB / 0.8868 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.9081, allocations: 1.024 MB / 0.8878 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9082, allocations: 0 / 0.8878 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.9082, allocations: 16 kB / 0.8878 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.9085, allocations: 104.8 kB / 0.8879 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.9086, allocations: 11.92 kB / 0.888 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009089/0.9095, allocations: 0.7576 MB / 0.8887 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9095, allocations: 3.938 kB / 0.8887 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.9126, allocations: 0.867 MB / 0.8895 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.9128, allocations: 136.6 kB / 0.8897 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.9129, allocations: 8.062 kB / 0.8897 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.9131, allocations: 12 kB / 0.8897 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9132, allocations: 11.97 kB / 0.8897 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.9132, allocations: 11.94 kB / 0.8897 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002971/0.9136, allocations: 235 kB / 0.8899 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9136, allocations: 0 / 0.8899 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000539/0.9141, allocations: 116 kB / 0.8901 GB, free: 2.137 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.000373/0.9145, allocations: 187.1 kB / 0.8902 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.9161, allocations: 0.5664 MB / 0.8908 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9161, allocations: 0 / 0.8908 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.9169, allocations: 260.1 kB / 0.891 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.9174, allocations: 72.98 kB / 0.8911 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.9188, allocations: 0.609 MB / 0.8917 GB, free: 384 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.9192, allocations: 0.7598 MB / 0.8924 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000161/0.9193, allocations: 38.2 kB / 0.8925 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.9194, allocations: 27.36 kB / 0.8925 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.9194, allocations: 0 / 0.8925 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of Templates: time 0.01265/0.9321, allocations: 7.198 MB / 0.8995 GB, free: 8.422 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (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)