Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001208/0.001208, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.001203/0.001203, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.53/1.53, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 0.5495 GB, free: 17.52 MB / 462.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.001757/0.001757, allocations: 71.91 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.254, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004322/0.2583, allocations: 2.41 MB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6313/0.8896, allocations: 150.9 MB / 0.9338 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.89, allocations: 0 / 0.9338 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.8905, allocations: 103.4 kB / 0.9339 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.8917, allocations: 230.6 kB / 0.9342 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.8937, allocations: 0.6474 MB / 0.9348 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008473/0.8945, allocations: 438.6 kB / 0.9352 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.8947, allocations: 50 kB / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.8952, allocations: 187.4 kB / 0.9354 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.8958, allocations: 199.3 kB / 0.9356 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.8959, allocations: 28 kB / 0.9357 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.8977, allocations: 0.62 MB / 0.9363 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.8979, allocations: 79.73 kB / 0.9363 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.8983, allocations: 171.8 kB / 0.9365 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.9, allocations: 0.6544 MB / 0.9371 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.9, allocations: 0 / 0.9371 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9, allocations: 0 / 0.9371 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.9001, allocations: 0 / 0.9371 GB, free: 13.88 MB / 0.7325 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.001948/0.902, allocations: 0.7365 MB / 0.9379 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.9021, allocations: 12.03 kB / 0.9379 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.9038, allocations: 161.4 kB / 0.938 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.9044, allocations: 314.7 kB / 0.9383 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.9045, allocations: 45.7 kB / 0.9384 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.9046, allocations: 20 kB / 0.9384 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.905, allocations: 200.1 kB / 0.9386 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.9051, allocations: 0 / 0.9386 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.9051, allocations: 12 kB / 0.9386 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.9051, allocations: 0 / 0.9386 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.9054, allocations: 126.2 kB / 0.9387 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.908, allocations: 0.9861 MB / 0.9397 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007841/0.9088, allocations: 170.4 kB / 0.9398 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.9091, allocations: 96.83 kB / 0.9399 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.9091, allocations: 0 / 0.9399 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.9096, allocations: 193 kB / 0.9401 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.9096, allocations: 0 / 0.9401 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.004146/0.9137, allocations: 0.8646 MB / 0.941 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.9138, allocations: 89.09 kB / 0.941 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.9143, allocations: 332.5 kB / 0.9414 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.9144, allocations: 33.69 kB / 0.9414 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.9145, allocations: 156.5 kB / 0.9415 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.9146, allocations: 51.27 kB / 0.9416 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.9148, allocations: 81.94 kB / 0.9417 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9149, allocations: 342.8 kB / 0.942 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.9153, allocations: 140.5 kB / 0.9421 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.9157, allocations: 217.4 kB / 0.9423 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006628/0.9164, allocations: 344.6 kB / 0.9427 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9164, allocations: 0 / 0.9427 GB, free: 7.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00371/0.9201, allocations: 0.8596 MB / 0.9435 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.9202, allocations: 38.47 kB / 0.9435 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9202, allocations: 0 / 0.9435 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009393/0.9211, allocations: 201.5 kB / 0.9437 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.9214, allocations: 43.91 kB / 0.9438 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.9248, allocations: 2.331 MB / 0.9461 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.9254, allocations: 47.64 kB / 0.9461 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.9255, allocations: 21.08 kB / 0.9461 GB, free: 4.176 MB / 0.7325 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.0003657/0.9259, allocations: 197.4 kB / 0.9463 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.926, allocations: 27.62 kB / 0.9463 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.926, allocations: 31.17 kB / 0.9464 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.926, allocations: 4 kB / 0.9464 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9261, allocations: 7.938 kB / 0.9464 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9261, allocations: 0.5625 kB / 0.9464 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.9295, allocations: 1.028 MB / 0.9474 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.9295, allocations: 4 kB / 0.9474 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.9296, allocations: 4 kB / 0.9474 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.9299, allocations: 124.7 kB / 0.9475 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.93, allocations: 11.92 kB / 0.9475 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.931, allocations: 0.7401 MB / 0.9482 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.931, allocations: 3.984 kB / 0.9482 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.9342, allocations: 0.8772 MB / 0.9491 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.9344, allocations: 136.6 kB / 0.9492 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.9345, allocations: 4 kB / 0.9492 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.9348, allocations: 17.8 kB / 0.9493 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.9349, allocations: 7.984 kB / 0.9493 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.9349, allocations: 15.98 kB / 0.9493 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003335/0.9353, allocations: 235 kB / 0.9495 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9353, allocations: 4.062 kB / 0.9495 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005717/0.9358, allocations: 112 kB / 0.9496 GB, free: 492 kB / 0.7325 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.0004423/0.9363, allocations: 187.9 kB / 0.9498 GB, free: 292 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.938, allocations: 0.5579 MB / 0.9503 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.938, allocations: 0 / 0.9503 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.9388, allocations: 256.1 kB / 0.9506 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.9393, allocations: 63.45 kB / 0.9506 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.9408, allocations: 0.6184 MB / 0.9512 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.9412, allocations: 0.7599 MB / 0.952 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.9414, allocations: 29.27 kB / 0.952 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.9414, allocations: 23.42 kB / 0.952 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.9414, allocations: 0 / 0.952 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of Templates: time 0.01375/0.9552, allocations: 7.202 MB / 0.9591 GB, free: 6.855 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)