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: 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 252 MB / 268 MB, free: 10.85 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.001067/0.001067, allocations: 180.3 kB / 327.6 MB, free: 2.09 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.937/1.937, allocations: 205.4 MB / 0.5786 GB, free: 20.42 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.000939/0.000939, allocations: 87.98 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 11.38 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9015 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.002441/0.2222, allocations: 2.105 MB / 0.9035 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.3821, allocations: 147.1 MB / 1.047 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003285/0.3825, allocations: 0 / 1.047 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.383, allocations: 83.55 kB / 1.047 GB, free: 9.895 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.3839, allocations: 214.9 kB / 1.047 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3858, allocations: 0.5743 MB / 1.048 GB, free: 9.117 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.3864, allocations: 414.6 kB / 1.048 GB, free: 8.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3865, allocations: 37.02 kB / 1.048 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.3867, allocations: 167.4 kB / 1.049 GB, free: 8.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.3871, allocations: 183.3 kB / 1.049 GB, free: 8.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.3871, allocations: 16 kB / 1.049 GB, free: 8.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.3885, allocations: 0.6667 MB / 1.049 GB, free: 7.648 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3886, allocations: 71.72 kB / 1.05 GB, free: 7.578 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3888, allocations: 172.9 kB / 1.05 GB, free: 7.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.3894, allocations: 470.9 kB / 1.05 GB, free: 6.941 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3895, allocations: 3.938 kB / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3895, allocations: 0 / 1.05 GB, free: 6.938 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3895, allocations: 0 / 1.05 GB, free: 6.938 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.001486/0.391, allocations: 0.6794 MB / 1.051 GB, free: 6.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.391, allocations: 8.031 kB / 1.051 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.3926, allocations: 168.4 kB / 1.051 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.3931, allocations: 306.8 kB / 1.051 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.3932, allocations: 45.7 kB / 1.051 GB, free: 5.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.3932, allocations: 16 kB / 1.051 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.3936, allocations: 212.1 kB / 1.052 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3937, allocations: 4 kB / 1.052 GB, free: 5.398 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.3937, allocations: 4 kB / 1.052 GB, free: 5.395 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.3937, allocations: 4 kB / 1.052 GB, free: 5.391 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.394, allocations: 120.1 kB / 1.052 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.3965, allocations: 1.008 MB / 1.053 GB, free: 4.207 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.3973, allocations: 166.5 kB / 1.053 GB, free: 4.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.3975, allocations: 100.8 kB / 1.053 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3976, allocations: 0 / 1.053 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.398, allocations: 192.9 kB / 1.053 GB, free: 3.727 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.813e-06/0.398, allocations: 0 / 1.053 GB, free: 3.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.004149/0.4022, allocations: 0.8712 MB / 1.054 GB, free: 2.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.4023, allocations: 93.09 kB / 1.054 GB, free: 2.711 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.4027, allocations: 332.5 kB / 1.054 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.4028, allocations: 37.69 kB / 1.054 GB, free: 2.336 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.403, allocations: 152.5 kB / 1.055 GB, free: 2.184 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.906e-05/0.403, allocations: 55.25 kB / 1.055 GB, free: 2.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4031, allocations: 4 kB / 1.055 GB, free: 2.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4032, allocations: 346.7 kB / 1.055 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4036, allocations: 148.5 kB / 1.055 GB, free: 1.633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.404, allocations: 213.4 kB / 1.055 GB, free: 1.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.4047, allocations: 352.7 kB / 1.056 GB, free: 1.039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4047, allocations: 0 / 1.056 GB, free: 1.039 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00366/0.4084, allocations: 0.8555 MB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.4084, allocations: 37.75 kB / 1.056 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.4084, allocations: 4 kB / 1.056 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5042/0.9127, allocations: 192.4 kB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.913, allocations: 40.7 kB / 1.057 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.9158, allocations: 2.242 MB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.9164, allocations: 47.38 kB / 1.059 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.9164, allocations: 19.64 kB / 1.059 GB, free: 154.7 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 (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.000229/0.9167, allocations: 192.6 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.9167, allocations: 30 kB / 1.059 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.9167, allocations: 30.44 kB / 1.059 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9168, allocations: 6.969 kB / 1.059 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.9168, allocations: 0 / 1.059 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9168, allocations: 4.578 kB / 1.059 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.9198, allocations: 1.044 MB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.9199, allocations: 2.625 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.9199, allocations: 9.812 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.9202, allocations: 115.1 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.9203, allocations: 8.484 kB / 1.06 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/0.9211, allocations: 0.7507 MB / 1.061 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9211, allocations: 0 / 1.061 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.924, allocations: 0.8913 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.9242, allocations: 133 kB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.9242, allocations: 9.438 kB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.9245, allocations: 15 kB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.9246, allocations: 9.969 kB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.9246, allocations: 16.61 kB / 1.062 GB, free: 153.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003097/0.9249, allocations: 240.8 kB / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9249, allocations: 0 / 1.062 GB, free: 153.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005614/0.9255, allocations: 117.7 kB / 1.062 GB, free: 153.2 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.0004179/0.9259, allocations: 182.2 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.9275, allocations: 0.5667 MB / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9275, allocations: 0 / 1.063 GB, free: 153 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.9283, allocations: 249.6 kB / 1.063 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.9288, allocations: 58.16 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.9302, allocations: 0.7448 MB / 1.064 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.9305, allocations: 0.7606 MB / 1.065 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.9306, allocations: 24.38 kB / 1.065 GB, free: 151.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.9306, allocations: 0 / 1.065 GB, free: 151.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01638/0.947, allocations: 6.493 MB / 1.071 GB, free: 151 MB / 0.698 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)