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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 108 kB / 15.6 MB, free: 132 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.001989/0.001989, allocations: 195 kB / 16.53 MB, free: 6.391 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.661/1.661, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.834/1.834, allocations: 292.3 MB / 0.5489 GB, free: 13.48 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.001508/0.001508, allocations: 69.47 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 114.5 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003929/0.2542, allocations: 2.406 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6198/0.874, allocations: 150.9 MB / 0.9332 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.8743, allocations: 3.578 kB / 0.9332 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.8747, allocations: 88.92 kB / 0.9333 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.8759, allocations: 237.2 kB / 0.9336 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.8784, allocations: 0.6512 MB / 0.9342 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.8791, allocations: 439.5 kB / 0.9346 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.8792, allocations: 49.94 kB / 0.9347 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.8794, allocations: 177.9 kB / 0.9348 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.8798, allocations: 200.7 kB / 0.935 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.8799, allocations: 34.53 kB / 0.9351 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.8815, allocations: 0.6131 MB / 0.9357 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.8816, allocations: 86.19 kB / 0.9357 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.8818, allocations: 157.8 kB / 0.9359 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.8829, allocations: 0.6474 MB / 0.9365 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.883, allocations: 1.094 kB / 0.9365 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.883, allocations: 2.875 kB / 0.9365 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.883, allocations: 0 / 0.9365 GB, free: 5.562 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.001715/0.8847, allocations: 0.7407 MB / 0.9372 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8847, allocations: 12.09 kB / 0.9373 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.8848, allocations: 43.56 kB / 0.9373 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.8863, allocations: 158.5 kB / 0.9375 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.8868, allocations: 313.6 kB / 0.9377 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.8868, allocations: 45 kB / 0.9378 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.8869, allocations: 21.22 kB / 0.9378 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.8873, allocations: 214 kB / 0.938 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8873, allocations: 4 kB / 0.938 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.8873, allocations: 0.7969 kB / 0.938 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8874, allocations: 2.531 kB / 0.938 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.8876, allocations: 120 kB / 0.9381 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.89, allocations: 0.9978 MB / 0.9391 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.8908, allocations: 167.9 kB / 0.9393 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.891, allocations: 99.09 kB / 0.9394 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.8911, allocations: 4.688 kB / 0.9394 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.8915, allocations: 192.1 kB / 0.9396 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=19): time 1.664e-06/0.8915, allocations: 3.094 kB / 0.9396 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=19): time 0.003989/0.8955, allocations: 0.8614 MB / 0.9404 GB, free: 19.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.8955, allocations: 80.91 kB / 0.9405 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.8959, allocations: 340.4 kB / 0.9408 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.896, allocations: 31.45 kB / 0.9408 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8961, allocations: 162.4 kB / 0.941 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.8962, allocations: 51.86 kB / 0.941 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.8963, allocations: 82.27 kB / 0.9411 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8964, allocations: 348 kB / 0.9414 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.8968, allocations: 137.5 kB / 0.9416 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.8972, allocations: 222.1 kB / 0.9418 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.8977, allocations: 338.7 kB / 0.9421 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8978, allocations: 0 / 0.9421 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003627/0.9014, allocations: 0.8501 MB / 0.9429 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.9014, allocations: 40.47 kB / 0.943 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9015, allocations: 4.062 kB / 0.943 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009184/0.9024, allocations: 195.4 kB / 0.9432 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.9026, allocations: 41.94 kB / 0.9432 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.9054, allocations: 2.345 MB / 0.9455 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/0.906, allocations: 50.22 kB / 0.9455 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.906, allocations: 20.39 kB / 0.9456 GB, free: 16.8 MB / 0.7481 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.0002372/0.9063, allocations: 191.7 kB / 0.9457 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.9063, allocations: 30.38 kB / 0.9458 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.9064, allocations: 26.11 kB / 0.9458 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.9064, allocations: 1.594 kB / 0.9458 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9064, allocations: 10.97 kB / 0.9458 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9064, allocations: 0.6562 kB / 0.9458 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.9097, allocations: 1.032 MB / 0.9468 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9097, allocations: 4.188 kB / 0.9468 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.9097, allocations: 12.61 kB / 0.9468 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.9101, allocations: 115.1 kB / 0.947 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.9101, allocations: 14.28 kB / 0.947 GB, free: 16.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000892/0.911, allocations: 0.7465 MB / 0.9477 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.911, allocations: 1.094 kB / 0.9477 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.9144, allocations: 0.8699 MB / 0.9485 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.9148, allocations: 136.4 kB / 0.9487 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.9148, allocations: 6.906 kB / 0.9487 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.9151, allocations: 10.03 kB / 0.9487 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.9152, allocations: 17.94 kB / 0.9487 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.9153, allocations: 12.42 kB / 0.9487 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004578/0.9157, allocations: 239.5 kB / 0.9489 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9157, allocations: 0.875 kB / 0.9489 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007606/0.9165, allocations: 111 kB / 0.9491 GB, free: 15.22 MB / 0.7481 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.001774/0.9183, allocations: 1.22 MB / 0.9502 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.92, allocations: 0.5746 MB / 0.9508 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.92, allocations: 4.188 kB / 0.9508 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/0.9207, allocations: 258 kB / 0.9511 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.9212, allocations: 64.28 kB / 0.9511 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.933, allocations: 4.35 MB / 0.9554 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.9334, allocations: 0.7626 MB / 0.9561 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.9336, allocations: 34.8 kB / 0.9561 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.9337, allocations: 83.69 kB / 0.9562 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of SimCode: time 4.7e-07/0.9337, allocations: 0 / 0.9562 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.9697, allocations: 10.23 MB / 0.9662 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.4, allocations: 5.25 kB / 0.9662 GB, free: 10.91 MB / 0.7481 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)