Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_10_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.0009759/0.0009758, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007759/0.007759, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.289/2.289, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 12 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5895, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003752/0.5933, allocations: 2.082 MB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.7631, allocations: 147.1 MB / 1.169 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.7634, allocations: 0 / 1.169 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.7638, allocations: 95.55 kB / 1.169 GB, free: 9.992 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.7646, allocations: 202.9 kB / 1.169 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.7663, allocations: 0.5809 MB / 1.17 GB, free: 9.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.7669, allocations: 418.6 kB / 1.17 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.7671, allocations: 52.66 kB / 1.17 GB, free: 8.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.7675, allocations: 159.4 kB / 1.17 GB, free: 8.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.7679, allocations: 187.3 kB / 1.17 GB, free: 8.418 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.768, allocations: 16 kB / 1.171 GB, free: 8.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.7692, allocations: 0.6667 MB / 1.171 GB, free: 7.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.7694, allocations: 71.72 kB / 1.171 GB, free: 7.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.7695, allocations: 176.9 kB / 1.171 GB, free: 7.484 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.7705, allocations: 0.6466 MB / 1.172 GB, free: 6.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7705, allocations: 0 / 1.172 GB, free: 6.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7705, allocations: 0 / 1.172 GB, free: 6.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.7706, allocations: 0 / 1.172 GB, free: 6.836 MB / 0.92 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.00146/0.772, allocations: 0.6871 MB / 1.173 GB, free: 6.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.7721, allocations: 8.031 kB / 1.173 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/0.7722, allocations: 50.75 kB / 1.173 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/0.7739, allocations: 156.4 kB / 1.173 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.7744, allocations: 322.4 kB / 1.173 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.7745, allocations: 45.7 kB / 1.173 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/0.7746, allocations: 19.98 kB / 1.173 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.7751, allocations: 204.1 kB / 1.173 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7751, allocations: 0 / 1.173 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.7751, allocations: 8 kB / 1.173 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.7751, allocations: 4 kB / 1.173 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.7754, allocations: 120.1 kB / 1.174 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.7779, allocations: 0.9964 MB / 1.175 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.7787, allocations: 162.5 kB / 1.175 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.7789, allocations: 100.8 kB / 1.175 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.779, allocations: 11.88 kB / 1.175 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.7794, allocations: 189 kB / 1.175 GB, free: 3.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.7794, allocations: 3.938 kB / 1.175 GB, free: 3.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004192/0.7836, allocations: 0.8804 MB / 1.176 GB, free: 2.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.7836, allocations: 85.09 kB / 1.176 GB, free: 2.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.7841, allocations: 344.4 kB / 1.176 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.7841, allocations: 37.64 kB / 1.176 GB, free: 2.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.7843, allocations: 144.7 kB / 1.176 GB, free: 2.016 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.7843, allocations: 59.19 kB / 1.177 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.7844, allocations: 37.7 kB / 1.177 GB, free: 1.914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7845, allocations: 346.7 kB / 1.177 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.7849, allocations: 140.5 kB / 1.177 GB, free: 1.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.7853, allocations: 213.4 kB / 1.177 GB, free: 1.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/0.7859, allocations: 344.9 kB / 1.178 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.786, allocations: 0 / 1.178 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003772/0.7897, allocations: 0.8758 MB / 1.178 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.7898, allocations: 37.69 kB / 1.178 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7898, allocations: 7.938 kB / 1.178 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009217/0.7907, allocations: 201.7 kB / 1.179 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.791, allocations: 39.91 kB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.7939, allocations: 2.245 MB / 1.181 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.7944, allocations: 51.56 kB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.7945, allocations: 19.98 kB / 1.181 GB, free: 13.18 MB / 0.9356 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.000243/0.7947, allocations: 183.4 kB / 1.181 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.7948, allocations: 31.62 kB / 1.181 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.7948, allocations: 27.17 kB / 1.181 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.7948, allocations: 8 kB / 1.181 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7948, allocations: 0 / 1.181 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7949, allocations: 3.984 kB / 1.181 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.7982, allocations: 1.06 MB / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7983, allocations: 0 / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.7983, allocations: 11.98 kB / 1.182 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.7987, allocations: 108.8 kB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.7987, allocations: 11.98 kB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.7996, allocations: 0.7498 MB / 1.183 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7996, allocations: 3.938 kB / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.8029, allocations: 0.8925 MB / 1.184 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.8031, allocations: 132.7 kB / 1.184 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.8032, allocations: 4 kB / 1.184 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.8034, allocations: 19.98 kB / 1.184 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.8035, allocations: 7.984 kB / 1.184 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.8035, allocations: 7.938 kB / 1.184 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003124/0.8039, allocations: 251 kB / 1.184 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8039, allocations: 0 / 1.184 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005139/0.8044, allocations: 112 kB / 1.184 GB, free: 9.422 MB / 0.9356 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.001626/0.806, allocations: 1.236 MB / 1.186 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.8077, allocations: 0.5652 MB / 1.186 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8077, allocations: 0 / 1.186 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.8085, allocations: 240.2 kB / 1.186 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.809, allocations: 66.03 kB / 1.187 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.8207, allocations: 4.505 MB / 1.191 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.8211, allocations: 0.7637 MB / 1.192 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.8213, allocations: 26.3 kB / 1.192 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.8215, allocations: 87.39 kB / 1.192 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.8215, allocations: 4 kB / 1.192 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.056/2.877, allocations: 9.654 MB / 1.201 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/2.877, allocations: 270.4 kB / 1.201 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/5.726, allocations: 0.7812 kB / 1.201 GB, free: 7.992 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)