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.004459/0.004459, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001253/0.001253, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.332/2.332, allocations: 437.1 MB / 0.7106 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 71.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2353, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003152/0.2385, allocations: 2.387 MB / 1.169 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5915/0.8299, allocations: 151 MB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.8301, allocations: 2.219 kB / 1.316 GB, free: 11.99 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.8304, allocations: 88.77 kB / 1.316 GB, free: 11.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.8309, allocations: 240.3 kB / 1.316 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.8321, allocations: 0.6601 MB / 1.317 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.8325, allocations: 431.7 kB / 1.317 GB, free: 11.72 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.8326, allocations: 46.64 kB / 1.317 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.8328, allocations: 187 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.8331, allocations: 199.6 kB / 1.318 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.8331, allocations: 30.78 kB / 1.318 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009592/0.8341, allocations: 0.6199 MB / 1.318 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.8342, allocations: 96.03 kB / 1.319 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.8344, allocations: 159.8 kB / 1.319 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.8351, allocations: 0.6579 MB / 1.319 GB, free: 11.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8352, allocations: 1.094 kB / 1.319 GB, free: 11.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8352, allocations: 0 / 1.319 GB, free: 11.47 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8352, allocations: 0 / 1.319 GB, free: 11.47 MB / 1.014 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.001367/0.8365, allocations: 0.7545 MB / 1.32 GB, free: 10.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.8366, allocations: 11.33 kB / 1.32 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.8366, allocations: 53.34 kB / 1.32 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.838, allocations: 155.1 kB / 1.32 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.8385, allocations: 317.9 kB / 1.321 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.8385, allocations: 45.62 kB / 1.321 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.8386, allocations: 21.12 kB / 1.321 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.839, allocations: 206.8 kB / 1.321 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.839, allocations: 5.812 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.839, allocations: 4.844 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.839, allocations: 2.562 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.8393, allocations: 117.4 kB / 1.321 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.8415, allocations: 0.9913 MB / 1.322 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/0.8421, allocations: 164.2 kB / 1.322 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.8423, allocations: 95.56 kB / 1.322 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.8424, allocations: 8.484 kB / 1.322 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.8427, allocations: 192.6 kB / 1.322 GB, free: 9.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.8427, allocations: 0 / 1.322 GB, free: 9.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.00366/0.8464, allocations: 0.8679 MB / 1.323 GB, free: 9.711 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.8464, allocations: 85.98 kB / 1.323 GB, free: 9.617 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.8468, allocations: 341.9 kB / 1.324 GB, free: 9.496 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.8468, allocations: 31.64 kB / 1.324 GB, free: 9.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.847, allocations: 146 kB / 1.324 GB, free: 9.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.847, allocations: 62.28 kB / 1.324 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.8472, allocations: 86.3 kB / 1.324 GB, free: 9.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8473, allocations: 347.2 kB / 1.324 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.8476, allocations: 136.4 kB / 1.324 GB, free: 8.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.848, allocations: 213.8 kB / 1.325 GB, free: 8.773 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.8487, allocations: 353.1 kB / 1.325 GB, free: 8.555 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8487, allocations: 0 / 1.325 GB, free: 8.555 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00335/0.852, allocations: 0.8528 MB / 1.326 GB, free: 8.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.8521, allocations: 42.94 kB / 1.326 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8521, allocations: 0 / 1.326 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008249/0.8529, allocations: 197.2 kB / 1.326 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.8531, allocations: 40.98 kB / 1.326 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.8559, allocations: 2.349 MB / 1.328 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.8563, allocations: 49.23 kB / 1.328 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.8563, allocations: 20.52 kB / 1.328 GB, free: 5.988 MB / 1.014 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.0002044/0.8565, allocations: 199.1 kB / 1.329 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.8566, allocations: 31 kB / 1.329 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.8566, allocations: 26.48 kB / 1.329 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.8567, allocations: 5.031 kB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.8567, allocations: 1.281 kB / 1.329 GB, free: 5.777 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8567, allocations: 5.062 kB / 1.329 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.8596, allocations: 1.034 MB / 1.33 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8596, allocations: 1.406 kB / 1.33 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.8596, allocations: 6.156 kB / 1.33 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.8599, allocations: 117.8 kB / 1.33 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.86, allocations: 17.95 kB / 1.33 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/0.8608, allocations: 0.7419 MB / 1.33 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8608, allocations: 3.938 kB / 1.33 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.8637, allocations: 0.8735 MB / 1.331 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.8638, allocations: 145.1 kB / 1.331 GB, free: 4.066 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.8639, allocations: 7.688 kB / 1.331 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.8641, allocations: 10.92 kB / 1.332 GB, free: 4.062 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.8642, allocations: 11.83 kB / 1.332 GB, free: 4.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.8642, allocations: 13.53 kB / 1.332 GB, free: 4.055 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002663/0.8645, allocations: 238.6 kB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8645, allocations: 1.156 kB / 1.332 GB, free: 3.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004003/0.8649, allocations: 113.3 kB / 1.332 GB, free: 3.914 MB / 1.014 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.001462/0.8663, allocations: 1.227 MB / 1.333 GB, free: 3.039 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.8677, allocations: 0.5771 MB / 1.334 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8678, allocations: 0 / 1.334 GB, free: 2.715 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006887/0.8685, allocations: 261.3 kB / 1.334 GB, free: 2.574 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.8689, allocations: 54.72 kB / 1.334 GB, free: 2.559 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/0.8786, allocations: 4.365 MB / 1.338 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.879, allocations: 0.7558 MB / 1.339 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000106/0.8791, allocations: 33.52 kB / 1.339 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8792, allocations: 87.8 kB / 1.339 GB, free: 15.48 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.8792, allocations: 0 / 1.339 GB, free: 15.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.571/6.45, allocations: 10.33 MB / 1.349 GB, free: 12.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.94/23.39, allocations: 11.86 kB / 1.349 GB, free: 12.88 MB / 1.029 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=400 --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)