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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001122/0.001122, allocations: 194.1 kB / 16.25 MB, free: 6.629 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4796, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003297/0.4829, allocations: 2.436 MB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1343/0.6173, allocations: 148.8 MB / 1.165 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.6175, allocations: 4 kB / 1.165 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.6179, allocations: 79.62 kB / 1.165 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.6185, allocations: 218.9 kB / 1.165 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.6199, allocations: 0.6044 MB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.6204, allocations: 442.6 kB / 1.166 GB, free: 9.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.6205, allocations: 48.61 kB / 1.166 GB, free: 9.641 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.6208, allocations: 183.4 kB / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.6211, allocations: 199.3 kB / 1.166 GB, free: 9.266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.6212, allocations: 32 kB / 1.166 GB, free: 9.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.6222, allocations: 0.6473 MB / 1.167 GB, free: 8.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.6223, allocations: 83.72 kB / 1.167 GB, free: 8.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.6225, allocations: 171.2 kB / 1.167 GB, free: 8.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008489/0.6234, allocations: 0.6661 MB / 1.168 GB, free: 7.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6234, allocations: 0 / 1.168 GB, free: 7.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 6.212e-06/0.6234, allocations: 4 kB / 1.168 GB, free: 7.664 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6234, allocations: 0 / 1.168 GB, free: 7.664 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.001501/0.6249, allocations: 0.7416 MB / 1.169 GB, free: 6.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6249, allocations: 12.03 kB / 1.169 GB, free: 6.855 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.625, allocations: 46.73 kB / 1.169 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.6266, allocations: 156.4 kB / 1.169 GB, free: 6.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.627, allocations: 318.5 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.6271, allocations: 45.7 kB / 1.169 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.6271, allocations: 16 kB / 1.169 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.6275, allocations: 212.1 kB / 1.169 GB, free: 6.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6275, allocations: 0 / 1.169 GB, free: 6.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.6276, allocations: 8 kB / 1.169 GB, free: 6 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.6276, allocations: 4 kB / 1.169 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.6278, allocations: 118.1 kB / 1.17 GB, free: 5.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.6303, allocations: 0.9886 MB / 1.17 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007945/0.6311, allocations: 166.5 kB / 1.171 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.6313, allocations: 88.83 kB / 1.171 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.6313, allocations: 12 kB / 1.171 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.6317, allocations: 197 kB / 1.171 GB, free: 4.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.6317, allocations: 0 / 1.171 GB, free: 4.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004227/0.636, allocations: 0.8686 MB / 1.172 GB, free: 3.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.636, allocations: 81.11 kB / 1.172 GB, free: 3.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.6364, allocations: 344.4 kB / 1.172 GB, free: 3.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.6365, allocations: 33.7 kB / 1.172 GB, free: 2.969 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6366, allocations: 144.7 kB / 1.172 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.6367, allocations: 55.2 kB / 1.172 GB, free: 2.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.6368, allocations: 89.84 kB / 1.172 GB, free: 2.676 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.637, allocations: 350.7 kB / 1.173 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.6373, allocations: 132.5 kB / 1.173 GB, free: 2.195 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.6377, allocations: 217.4 kB / 1.173 GB, free: 1.969 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.6384, allocations: 344.9 kB / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6384, allocations: 0 / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003854/0.6423, allocations: 0.856 MB / 1.174 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.6423, allocations: 47.19 kB / 1.174 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6423, allocations: 0 / 1.174 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.6433, allocations: 201.7 kB / 1.175 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.6436, allocations: 43.84 kB / 1.175 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.6468, allocations: 2.347 MB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.6474, allocations: 39.67 kB / 1.177 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.6474, allocations: 19.98 kB / 1.177 GB, free: 13.86 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.0002586/0.6477, allocations: 192.2 kB / 1.177 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.6478, allocations: 31.62 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.6478, allocations: 27.17 kB / 1.177 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6478, allocations: 4 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6479, allocations: 3.938 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6479, allocations: 0 / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.6515, allocations: 1.039 MB / 1.178 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6515, allocations: 0 / 1.178 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.6515, allocations: 8 kB / 1.178 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.6519, allocations: 112.8 kB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.6519, allocations: 15.94 kB / 1.178 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/0.6528, allocations: 0.7497 MB / 1.179 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6528, allocations: 0 / 1.179 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.6563, allocations: 0.8739 MB / 1.18 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.6565, allocations: 136.7 kB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.131e-05/0.6566, allocations: 12.06 kB / 1.18 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.6569, allocations: 7.984 kB / 1.18 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.657, allocations: 15.98 kB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.657, allocations: 7.984 kB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003494/0.6574, allocations: 239 kB / 1.18 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6574, allocations: 0 / 1.18 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00063/0.658, allocations: 112 kB / 1.18 GB, free: 10.14 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.002002/0.66, allocations: 1.231 MB / 1.182 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.6618, allocations: 0.569 MB / 1.182 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6618, allocations: 0 / 1.182 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008213/0.6626, allocations: 248.2 kB / 1.182 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.6632, allocations: 68.91 kB / 1.182 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.675, allocations: 4.445 MB / 1.187 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6753, allocations: 0.756 MB / 1.188 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6755, allocations: 34.28 kB / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.6756, allocations: 83.41 kB / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.6756, allocations: 0 / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.7122, allocations: 10.1 MB / 1.198 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/0.7125, allocations: 266.9 kB / 1.198 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.727, allocations: 0 / 1.198 GB, free: 8.316 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)