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.008047/0.008047, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001969/0.001969, allocations: 186.2 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.541/2.541, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 75.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2651, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003703/0.2688, allocations: 2.39 MB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7314/1, allocations: 151 MB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/1.001, allocations: 2.031 kB / 1.316 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003702/1.001, allocations: 99.19 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008527/1.002, allocations: 244 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/1.004, allocations: 0.6708 MB / 1.317 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007007/1.005, allocations: 433.9 kB / 1.317 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/1.005, allocations: 54.75 kB / 1.317 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/1.005, allocations: 187.1 kB / 1.318 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/1.006, allocations: 198.6 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/1.006, allocations: 29.72 kB / 1.318 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/1.007, allocations: 0.625 MB / 1.318 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/1.007, allocations: 86.56 kB / 1.318 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/1.008, allocations: 161.8 kB / 1.319 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.009, allocations: 0.6572 MB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.009, allocations: 0 / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/1.009, allocations: 1.125 kB / 1.319 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.791e-05/1.009, allocations: 3.938 kB / 1.319 GB, free: 11.5 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.001867/1.011, allocations: 0.742 MB / 1.32 GB, free: 10.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.011, allocations: 9.531 kB / 1.32 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/1.011, allocations: 49.23 kB / 1.32 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.013, allocations: 161.3 kB / 1.32 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/1.013, allocations: 311.1 kB / 1.321 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/1.013, allocations: 50.48 kB / 1.321 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/1.014, allocations: 21.66 kB / 1.321 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/1.014, allocations: 207.6 kB / 1.321 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.014, allocations: 0 / 1.321 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.014, allocations: 5.406 kB / 1.321 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.014, allocations: 3.438 kB / 1.321 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/1.014, allocations: 120.3 kB / 1.321 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/1.017, allocations: 0.9858 MB / 1.322 GB, free: 10.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/1.018, allocations: 165.4 kB / 1.322 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/1.018, allocations: 95.31 kB / 1.322 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.019, allocations: 7.562 kB / 1.322 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/1.019, allocations: 190 kB / 1.322 GB, free: 9.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/1.019, allocations: 0 / 1.322 GB, free: 9.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.004565/1.024, allocations: 0.864 MB / 1.323 GB, free: 9.766 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/1.024, allocations: 90.09 kB / 1.323 GB, free: 9.668 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/1.024, allocations: 340.2 kB / 1.324 GB, free: 9.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/1.024, allocations: 33.55 kB / 1.324 GB, free: 9.516 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.024, allocations: 149.6 kB / 1.324 GB, free: 9.426 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/1.024, allocations: 58.2 kB / 1.324 GB, free: 9.391 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.025, allocations: 84.05 kB / 1.324 GB, free: 9.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.025, allocations: 343.8 kB / 1.324 GB, free: 9.023 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/1.025, allocations: 142.6 kB / 1.324 GB, free: 8.973 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/1.026, allocations: 215 kB / 1.325 GB, free: 8.871 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006572/1.026, allocations: 336.8 kB / 1.325 GB, free: 8.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.026, allocations: 1.25 kB / 1.325 GB, free: 8.668 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003787/1.03, allocations: 0.8548 MB / 1.326 GB, free: 8.391 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/1.03, allocations: 39.36 kB / 1.326 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.03, allocations: 1.062 kB / 1.326 GB, free: 8.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/1.031, allocations: 200.5 kB / 1.326 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.031, allocations: 35.44 kB / 1.326 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/1.034, allocations: 2.357 MB / 1.328 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/1.035, allocations: 52.52 kB / 1.328 GB, free: 6.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.035, allocations: 22.14 kB / 1.328 GB, free: 6.09 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.0002903/1.035, allocations: 187.4 kB / 1.329 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/1.035, allocations: 34.22 kB / 1.329 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/1.036, allocations: 35.77 kB / 1.329 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.036, allocations: 1.156 kB / 1.329 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.036, allocations: 0 / 1.329 GB, free: 5.879 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.036, allocations: 6.469 kB / 1.329 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003367/1.039, allocations: 1.036 MB / 1.33 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.039, allocations: 0 / 1.33 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/1.039, allocations: 5.875 kB / 1.33 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/1.039, allocations: 117.2 kB / 1.33 GB, free: 5.312 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/1.039, allocations: 10.3 kB / 1.33 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000958/1.04, allocations: 0.7531 MB / 1.33 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.04, allocations: 0 / 1.33 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/1.044, allocations: 0.8654 MB / 1.331 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/1.044, allocations: 127.9 kB / 1.331 GB, free: 4.191 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/1.044, allocations: 8.375 kB / 1.331 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/1.044, allocations: 14.95 kB / 1.331 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.044, allocations: 8.672 kB / 1.331 GB, free: 4.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/1.044, allocations: 12.52 kB / 1.331 GB, free: 4.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003387/1.045, allocations: 243.8 kB / 1.332 GB, free: 4.051 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.045, allocations: 0 / 1.332 GB, free: 4.051 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006672/1.045, allocations: 114 kB / 1.332 GB, free: 4.035 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.001692/1.047, allocations: 1.229 MB / 1.333 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00167/1.049, allocations: 0.5766 MB / 1.334 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.049, allocations: 0 / 1.334 GB, free: 2.832 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.05, allocations: 245 kB / 1.334 GB, free: 2.707 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/1.05, allocations: 66.5 kB / 1.334 GB, free: 2.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.062, allocations: 4.356 MB / 1.338 GB, free: 396 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.063, allocations: 0.7634 MB / 1.339 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002478/1.063, allocations: 34.48 kB / 1.339 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/1.063, allocations: 84.19 kB / 1.339 GB, free: 15.61 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/1.063, allocations: 0 / 1.339 GB, free: 15.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/1.104, allocations: 10.33 MB / 1.349 GB, free: 13.01 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.03, allocations: 5.438 kB / 1.349 GB, free: 13 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=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)