Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_11_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.004747/0.004747, allocations: 99.84 kB / 15.73 MB, free: 6.496 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.001346/0.001346, allocations: 196 kB / 16.68 MB, free: 6.375 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 469.8 MB / 0.7426 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 67.83 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2732, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003284/0.2765, allocations: 2.389 MB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6149/0.8914, allocations: 151 MB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.8916, allocations: 5.25 kB / 1.37 GB, free: 12.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.892, allocations: 93.86 kB / 1.37 GB, free: 12.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.8926, allocations: 235.4 kB / 1.37 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.8942, allocations: 0.6613 MB / 1.371 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.8947, allocations: 439.4 kB / 1.371 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8948, allocations: 44.38 kB / 1.371 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.895, allocations: 177.3 kB / 1.372 GB, free: 12.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.8952, allocations: 203.7 kB / 1.372 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.8953, allocations: 33.97 kB / 1.372 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.8964, allocations: 0.6231 MB / 1.372 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.8965, allocations: 85.8 kB / 1.372 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.8967, allocations: 164.3 kB / 1.373 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.8974, allocations: 0.6581 MB / 1.373 GB, free: 11.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.8975, allocations: 0 / 1.373 GB, free: 11.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8975, allocations: 1.062 kB / 1.373 GB, free: 11.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8975, allocations: 3.141 kB / 1.373 GB, free: 11.38 MB / 1.076 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.001343/0.8988, allocations: 0.7504 MB / 1.374 GB, free: 10.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.8989, allocations: 19.61 kB / 1.374 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.8989, allocations: 46.05 kB / 1.374 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.9003, allocations: 161.6 kB / 1.374 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.9008, allocations: 316.1 kB / 1.375 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.9008, allocations: 45.48 kB / 1.375 GB, free: 10.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.9009, allocations: 22.23 kB / 1.375 GB, free: 10.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.9013, allocations: 211.1 kB / 1.375 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.9013, allocations: 0 / 1.375 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.9013, allocations: 9.141 kB / 1.375 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9013, allocations: 2.188 kB / 1.375 GB, free: 10.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.9016, allocations: 121.4 kB / 1.375 GB, free: 10.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.9038, allocations: 0.9964 MB / 1.376 GB, free: 9.594 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.9045, allocations: 165.8 kB / 1.376 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.9047, allocations: 98.75 kB / 1.376 GB, free: 9.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.9047, allocations: 1.312 kB / 1.376 GB, free: 9.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.9051, allocations: 193.3 kB / 1.376 GB, free: 9.363 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.9051, allocations: 1.719 kB / 1.376 GB, free: 9.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.003755/0.9088, allocations: 0.8675 MB / 1.377 GB, free: 8.938 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.9089, allocations: 84.95 kB / 1.377 GB, free: 8.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.9093, allocations: 342.2 kB / 1.378 GB, free: 8.613 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.9093, allocations: 32.11 kB / 1.378 GB, free: 8.578 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.9095, allocations: 149.1 kB / 1.378 GB, free: 8.438 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.9095, allocations: 59.83 kB / 1.378 GB, free: 8.387 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.9097, allocations: 87.77 kB / 1.378 GB, free: 8.324 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9098, allocations: 350.3 kB / 1.378 GB, free: 7.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.9101, allocations: 137.4 kB / 1.378 GB, free: 7.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.9105, allocations: 225.3 kB / 1.379 GB, free: 7.777 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/0.9111, allocations: 334.2 kB / 1.379 GB, free: 7.559 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9112, allocations: 0 / 1.379 GB, free: 7.559 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003421/0.9146, allocations: 0.8673 MB / 1.38 GB, free: 7.105 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.9146, allocations: 37.47 kB / 1.38 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9146, allocations: 0.9062 kB / 1.38 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/0.9155, allocations: 197.4 kB / 1.38 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.9157, allocations: 40.78 kB / 1.38 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.9185, allocations: 2.35 MB / 1.382 GB, free: 4.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.9189, allocations: 47.59 kB / 1.382 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.9189, allocations: 20.61 kB / 1.382 GB, free: 4.656 MB / 1.076 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.0002073/0.9191, allocations: 196.6 kB / 1.383 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.9192, allocations: 30.31 kB / 1.383 GB, free: 4.461 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.9193, allocations: 30.95 kB / 1.383 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9193, allocations: 2.094 kB / 1.383 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.9193, allocations: 0 / 1.383 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9193, allocations: 4.875 kB / 1.383 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.9223, allocations: 1.031 MB / 1.384 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9223, allocations: 3.984 kB / 1.384 GB, free: 3.719 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.9224, allocations: 14.25 kB / 1.384 GB, free: 3.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.9227, allocations: 111.3 kB / 1.384 GB, free: 3.652 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.9227, allocations: 12.27 kB / 1.384 GB, free: 3.645 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008589/0.9236, allocations: 0.74 MB / 1.384 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9236, allocations: 0 / 1.384 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.9265, allocations: 0.8879 MB / 1.385 GB, free: 2.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.9267, allocations: 134.6 kB / 1.385 GB, free: 2.316 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.9267, allocations: 11.34 kB / 1.385 GB, free: 2.309 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.927, allocations: 15.48 kB / 1.386 GB, free: 2.301 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.927, allocations: 12.17 kB / 1.386 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.9271, allocations: 10.58 kB / 1.386 GB, free: 2.289 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002678/0.9274, allocations: 237.7 kB / 1.386 GB, free: 2.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9274, allocations: 0 / 1.386 GB, free: 2.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004106/0.9278, allocations: 111.4 kB / 1.386 GB, free: 2.125 MB / 1.076 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.001489/0.9293, allocations: 1.231 MB / 1.387 GB, free: 1.172 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.9307, allocations: 0.5686 MB / 1.388 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.9307, allocations: 1 kB / 1.388 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.9314, allocations: 258.5 kB / 1.388 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.9319, allocations: 58.61 kB / 1.388 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.9421, allocations: 4.347 MB / 1.392 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.9424, allocations: 0.7669 MB / 1.393 GB, free: 13.03 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.9425, allocations: 33.06 kB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.9427, allocations: 82.75 kB / 1.393 GB, free: 12.95 MB / 1.092 GB Notification: Performance of SimCode: time 2.41e-07/0.9427, allocations: 0 / 1.393 GB, free: 12.95 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.86/3.803, allocations: 10.34 MB / 1.403 GB, free: 7.848 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.04/25.84, allocations: 6.625 kB / 1.403 GB, free: 7.844 MB / 1.092 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)