Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.004851/0.004852, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.001332/0.001332, allocations: 193 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.83 kB / 1.083 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2853, allocations: 162.2 MB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003777/0.2891, allocations: 2.383 MB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6827/0.9718, allocations: 151 MB / 1.391 GB, free: 3.891 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.972, allocations: 2.688 kB / 1.391 GB, free: 3.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.9724, allocations: 94.64 kB / 1.391 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.9731, allocations: 239.9 kB / 1.392 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.9748, allocations: 0.654 MB / 1.392 GB, free: 3.203 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.9753, allocations: 449.6 kB / 1.393 GB, free: 2.945 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.9754, allocations: 38.2 kB / 1.393 GB, free: 2.93 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.9757, allocations: 190 kB / 1.393 GB, free: 2.824 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.976, allocations: 195.9 kB / 1.393 GB, free: 2.707 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.9761, allocations: 29.62 kB / 1.393 GB, free: 2.707 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.9773, allocations: 0.6254 MB / 1.394 GB, free: 2.395 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.9774, allocations: 84.94 kB / 1.394 GB, free: 2.328 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.9776, allocations: 159.2 kB / 1.394 GB, free: 2.219 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.9786, allocations: 0.6593 MB / 1.395 GB, free: 1.797 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.9787, allocations: 4 kB / 1.395 GB, free: 1.793 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9787, allocations: 5.469 kB / 1.395 GB, free: 1.789 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.9787, allocations: 0 / 1.395 GB, free: 1.789 MB / 1.092 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.001588/0.9803, allocations: 0.7513 MB / 1.395 GB, free: 1.141 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.9803, allocations: 8.719 kB / 1.395 GB, free: 1.141 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.699e-05/0.9804, allocations: 55.55 kB / 1.395 GB, free: 1.082 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.982, allocations: 155.7 kB / 1.396 GB, free: 1.02 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000497/0.9825, allocations: 317.6 kB / 1.396 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.729e-05/0.9826, allocations: 45.19 kB / 1.396 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.9827, allocations: 21.88 kB / 1.396 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.9831, allocations: 209.4 kB / 1.396 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9831, allocations: 0 / 1.396 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.9832, allocations: 9.5 kB / 1.396 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.9832, allocations: 2.938 kB / 1.396 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.9835, allocations: 124.4 kB / 1.396 GB, free: 472 kB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.9861, allocations: 0.9925 MB / 1.397 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.9869, allocations: 162.5 kB / 1.397 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.9872, allocations: 98.44 kB / 1.397 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.9872, allocations: 1.062 kB / 1.397 GB, free: 15.49 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.9876, allocations: 194.1 kB / 1.398 GB, free: 15.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 4.227e-06/0.9876, allocations: 4 kB / 1.398 GB, free: 15.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.004316/0.9919, allocations: 0.8657 MB / 1.398 GB, free: 14.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.992, allocations: 80.08 kB / 1.399 GB, free: 14.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.9925, allocations: 353.9 kB / 1.399 GB, free: 14.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.9926, allocations: 31.98 kB / 1.399 GB, free: 14.48 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.9927, allocations: 149.3 kB / 1.399 GB, free: 14.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.9928, allocations: 60.05 kB / 1.399 GB, free: 14.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9929, allocations: 80.25 kB / 1.399 GB, free: 14.24 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9931, allocations: 346 kB / 1.4 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.9935, allocations: 137.3 kB / 1.4 GB, free: 13.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.994, allocations: 222.6 kB / 1.4 GB, free: 13.7 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.9946, allocations: 337.1 kB / 1.4 GB, free: 13.48 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9947, allocations: 1.219 kB / 1.4 GB, free: 13.48 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003897/0.9986, allocations: 0.8658 MB / 1.401 GB, free: 13.03 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.9986, allocations: 40.12 kB / 1.401 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.9987, allocations: 1.344 kB / 1.401 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.9996, allocations: 198 kB / 1.401 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.9999, allocations: 40.25 kB / 1.401 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/1.003, allocations: 2.329 MB / 1.404 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/1.004, allocations: 56.83 kB / 1.404 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/1.004, allocations: 19.48 kB / 1.404 GB, free: 10.58 MB / 1.107 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.0002617/1.004, allocations: 185 kB / 1.404 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/1.004, allocations: 39.5 kB / 1.404 GB, free: 10.39 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/1.004, allocations: 26.58 kB / 1.404 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.004, allocations: 6.656 kB / 1.404 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/1.004, allocations: 0 / 1.404 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.004, allocations: 11.91 kB / 1.404 GB, free: 10.35 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.008, allocations: 1.03 MB / 1.405 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.008, allocations: 0 / 1.405 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/1.008, allocations: 13.73 kB / 1.405 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/1.008, allocations: 106.9 kB / 1.405 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/1.008, allocations: 16.45 kB / 1.405 GB, free: 9.562 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/1.009, allocations: 0.751 MB / 1.406 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.009, allocations: 1.281 kB / 1.406 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/1.013, allocations: 0.8713 MB / 1.407 GB, free: 8.375 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/1.013, allocations: 143.1 kB / 1.407 GB, free: 8.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/1.013, allocations: 7.281 kB / 1.407 GB, free: 8.227 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/1.013, allocations: 11.52 kB / 1.407 GB, free: 8.223 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/1.013, allocations: 12.36 kB / 1.407 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/1.013, allocations: 6.312 kB / 1.407 GB, free: 8.215 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003321/1.014, allocations: 241.2 kB / 1.407 GB, free: 8.062 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.014, allocations: 5.188 kB / 1.407 GB, free: 8.059 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005274/1.014, allocations: 111.5 kB / 1.407 GB, free: 8.043 MB / 1.107 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.001759/1.016, allocations: 1.233 MB / 1.408 GB, free: 7.094 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.018, allocations: 0.5726 MB / 1.409 GB, free: 6.715 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.018, allocations: 1.125 kB / 1.409 GB, free: 6.715 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/1.019, allocations: 255 kB / 1.409 GB, free: 6.551 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/1.019, allocations: 69.95 kB / 1.409 GB, free: 6.516 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.031, allocations: 4.349 MB / 1.413 GB, free: 3.684 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/1.031, allocations: 0.7576 MB / 1.414 GB, free: 2.953 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001747/1.031, allocations: 37.33 kB / 1.414 GB, free: 2.93 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/1.032, allocations: 83.78 kB / 1.414 GB, free: 2.859 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.032, allocations: 4 kB / 1.414 GB, free: 2.855 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03907/1.071, allocations: 10.34 MB / 1.424 GB, free: 11.93 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.9, allocations: 8.75 kB / 1.424 GB, free: 11.93 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.csv --start-time 0 --stop-time 2400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.96 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)