Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,fileNamePrefix="Buildings_latest_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.008629/0.008629, allocations: 101.2 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.002019/0.002019, allocations: 196 kB / 16.67 MB, free: 5.977 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004655/0.3138, allocations: 2.376 MB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8655/1.179, allocations: 151 MB / 1.357 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/1.18, allocations: 6.062 kB / 1.357 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003637/1.18, allocations: 90.8 kB / 1.357 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007925/1.181, allocations: 235.7 kB / 1.357 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/1.183, allocations: 0.661 MB / 1.358 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005983/1.183, allocations: 432.5 kB / 1.358 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/1.183, allocations: 53.31 kB / 1.358 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003464/1.184, allocations: 183.3 kB / 1.359 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/1.184, allocations: 203.7 kB / 1.359 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/1.184, allocations: 29.31 kB / 1.359 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/1.186, allocations: 0.6225 MB / 1.36 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/1.186, allocations: 87.47 kB / 1.36 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/1.186, allocations: 165.3 kB / 1.36 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/1.188, allocations: 0.649 MB / 1.36 GB, free: 9.742 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.188, allocations: 5.281 kB / 1.36 GB, free: 9.738 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/1.188, allocations: 0.7969 kB / 1.36 GB, free: 9.738 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.188, allocations: 0 / 1.36 GB, free: 9.738 MB / 1.061 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.001952/1.19, allocations: 0.7387 MB / 1.361 GB, free: 9.168 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.19, allocations: 10.75 kB / 1.361 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/1.19, allocations: 50.02 kB / 1.361 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/1.192, allocations: 159 kB / 1.361 GB, free: 9.094 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/1.192, allocations: 317.7 kB / 1.362 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/1.192, allocations: 47.69 kB / 1.362 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/1.192, allocations: 22 kB / 1.362 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/1.193, allocations: 213.1 kB / 1.362 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.193, allocations: 0 / 1.362 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/1.193, allocations: 5.219 kB / 1.362 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.193, allocations: 3.594 kB / 1.362 GB, free: 8.664 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/1.193, allocations: 123.2 kB / 1.362 GB, free: 8.625 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/1.196, allocations: 0.988 MB / 1.363 GB, free: 7.984 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/1.196, allocations: 158.9 kB / 1.363 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/1.197, allocations: 96.8 kB / 1.363 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/1.197, allocations: 1.375 kB / 1.363 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/1.197, allocations: 198.7 kB / 1.363 GB, free: 7.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.565e-06/1.197, allocations: 3.938 kB / 1.363 GB, free: 7.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.004337/1.201, allocations: 0.8571 MB / 1.364 GB, free: 7.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/1.201, allocations: 91.34 kB / 1.364 GB, free: 7.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/1.202, allocations: 340.3 kB / 1.365 GB, free: 7.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/1.202, allocations: 32.2 kB / 1.365 GB, free: 7.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/1.202, allocations: 148.5 kB / 1.365 GB, free: 6.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/1.202, allocations: 61.12 kB / 1.365 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.203, allocations: 84.02 kB / 1.365 GB, free: 6.902 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.203, allocations: 342.8 kB / 1.365 GB, free: 6.574 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/1.203, allocations: 148.5 kB / 1.365 GB, free: 6.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/1.204, allocations: 213.8 kB / 1.366 GB, free: 6.418 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/1.204, allocations: 344.3 kB / 1.366 GB, free: 6.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.204, allocations: 1.125 kB / 1.366 GB, free: 6.207 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003775/1.208, allocations: 0.8512 MB / 1.367 GB, free: 5.934 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.208, allocations: 36.3 kB / 1.367 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.208, allocations: 1.062 kB / 1.367 GB, free: 5.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009568/1.209, allocations: 201.9 kB / 1.367 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/1.21, allocations: 40.55 kB / 1.367 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/1.213, allocations: 2.346 MB / 1.369 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/1.213, allocations: 48.16 kB / 1.369 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/1.214, allocations: 22.86 kB / 1.369 GB, free: 3.641 MB / 1.061 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.0003175/1.214, allocations: 189.9 kB / 1.37 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/1.214, allocations: 30.38 kB / 1.37 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.417e-05/1.214, allocations: 30.97 kB / 1.37 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.214, allocations: 2.594 kB / 1.37 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.214, allocations: 0.625 kB / 1.37 GB, free: 3.438 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/1.214, allocations: 6.281 kB / 1.37 GB, free: 3.434 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/1.218, allocations: 1.035 MB / 1.371 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.218, allocations: 1.25 kB / 1.371 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/1.218, allocations: 7.688 kB / 1.371 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/1.218, allocations: 122.4 kB / 1.371 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/1.218, allocations: 9.875 kB / 1.371 GB, free: 2.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009385/1.219, allocations: 0.741 MB / 1.372 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.219, allocations: 1.25 kB / 1.372 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/1.222, allocations: 0.8705 MB / 1.372 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/1.222, allocations: 138.9 kB / 1.373 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/1.223, allocations: 2.625 kB / 1.373 GB, free: 1.648 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/1.223, allocations: 16.17 kB / 1.373 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/1.223, allocations: 8.672 kB / 1.373 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/1.223, allocations: 14.16 kB / 1.373 GB, free: 1.629 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003563/1.223, allocations: 237.4 kB / 1.373 GB, free: 1.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.9e-07/1.223, allocations: 0 / 1.373 GB, free: 1.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006425/1.224, allocations: 111.8 kB / 1.373 GB, free: 1.465 MB / 1.061 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.001787/1.226, allocations: 1.239 MB / 1.374 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.227, allocations: 0.5657 MB / 1.375 GB, free: 136 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.227, allocations: 1.188 kB / 1.375 GB, free: 136 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007587/1.228, allocations: 254.7 kB / 1.375 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/1.229, allocations: 56.97 kB / 1.375 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.241, allocations: 4.358 MB / 1.379 GB, free: 13.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/1.241, allocations: 0.7585 MB / 1.38 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002158/1.241, allocations: 32.28 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.242, allocations: 84.22 kB / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/1.242, allocations: 0 / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03814/1.28, allocations: 10.58 MB / 1.39 GB, free: 7.008 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.68, allocations: 12.52 kB / 1.39 GB, free: 7 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal_fmu --startTime=0 --stopTime=2400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1)