Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",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.001502/0.001502, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 192.4 kB / 16.67 MB, free: 6.543 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7421 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 60.12 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4119, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.9248/1.337, allocations: 162.7 MB / 1.379 GB, free: 6.707 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01359/1.35, allocations: 8.857 MB / 1.387 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000939/1.351, allocations: 14.62 kB / 1.387 GB, free: 15.92 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.353, allocations: 360.4 kB / 1.388 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004059/1.357, allocations: 1.134 MB / 1.389 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007095/1.364, allocations: 2.129 MB / 1.391 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002435/1.366, allocations: 1.391 MB / 1.392 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009067/1.367, allocations: 439 kB / 1.393 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/1.373, allocations: 2.143 MB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/1.377, allocations: 1.3 MB / 1.396 GB, free: 9.863 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.377, allocations: 51.34 kB / 1.396 GB, free: 9.863 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007738/1.385, allocations: 2.889 MB / 1.399 GB, free: 8.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/1.386, allocations: 151.4 kB / 1.399 GB, free: 8.266 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008843/1.386, allocations: 351.2 kB / 1.399 GB, free: 8.055 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005396/1.392, allocations: 2.21 MB / 1.401 GB, free: 6.605 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.392, allocations: 4 kB / 1.401 GB, free: 6.602 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.219e-05/1.392, allocations: 3.938 kB / 1.401 GB, free: 6.598 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.147e-05/1.392, allocations: 5.312 kB / 1.401 GB, free: 6.594 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002572/1.394, allocations: 1.018 MB / 1.402 GB, free: 5.797 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.395, allocations: 14.25 kB / 1.402 GB, free: 5.793 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/1.395, allocations: 97.95 kB / 1.403 GB, free: 5.707 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.396, allocations: 150.8 kB / 1.403 GB, free: 5.633 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/1.397, allocations: 438.4 kB / 1.403 GB, free: 5.246 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.397, allocations: 38.97 kB / 1.403 GB, free: 5.227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.67e-05/1.397, allocations: 54.69 kB / 1.403 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.398, allocations: 0.6607 MB / 1.404 GB, free: 4.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/1.398, allocations: 5.359 kB / 1.404 GB, free: 4.746 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/1.398, allocations: 26.88 kB / 1.404 GB, free: 4.727 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.398, allocations: 17.69 kB / 1.404 GB, free: 4.723 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/1.399, allocations: 494.4 kB / 1.404 GB, free: 4.484 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003383/1.402, allocations: 2.976 MB / 1.407 GB, free: 1.703 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/1.403, allocations: 270.2 kB / 1.408 GB, free: 1.562 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/1.403, allocations: 168.5 kB / 1.408 GB, free: 1.477 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.421, allocations: 5.811 MB / 1.413 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/1.421, allocations: 49.05 kB / 1.413 GB, free: 14.38 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/1.421, allocations: 0 / 1.413 GB, free: 14.38 MB / 1.107 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.08563/1.507, allocations: 31.87 MB / 1.445 GB, free: 15.15 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.507, allocations: 137 kB / 1.445 GB, free: 14.98 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/1.507, allocations: 373.6 kB / 1.445 GB, free: 14.62 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/1.507, allocations: 33.7 kB / 1.445 GB, free: 14.58 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/1.507, allocations: 304.8 kB / 1.445 GB, free: 14.27 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.508, allocations: 186.4 kB / 1.446 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.508, allocations: 110.2 kB / 1.446 GB, free: 13.97 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.508, allocations: 354.8 kB / 1.446 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/1.508, allocations: 237 kB / 1.446 GB, free: 13.39 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/1.509, allocations: 376.4 kB / 1.447 GB, free: 12.97 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.51, allocations: 0.602 MB / 1.447 GB, free: 12.32 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.51, allocations: 3.875 kB / 1.447 GB, free: 12.32 MB / 1.139 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001896/1.512, allocations: 0.798 MB / 1.448 GB, free: 11.52 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.512, allocations: 7.938 kB / 1.448 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/1.512, allocations: 4 kB / 1.448 GB, free: 11.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/1.513, allocations: 121.6 kB / 1.448 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/1.513, allocations: 127.8 kB / 1.448 GB, free: 11.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.516, allocations: 3.431 MB / 1.452 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006363/1.517, allocations: 39.91 kB / 1.452 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.825e-05/1.517, allocations: 31.92 kB / 1.452 GB, free: 7.48 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000301/1.517, allocations: 193.8 kB / 1.452 GB, free: 7.281 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/1.517, allocations: 55.67 kB / 1.452 GB, free: 7.227 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/1.519, allocations: 0.7874 MB / 1.453 GB, free: 6.422 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.519, allocations: 4 kB / 1.453 GB, free: 6.418 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.519, allocations: 0 / 1.453 GB, free: 6.418 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/1.519, allocations: 3.984 kB / 1.453 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/1.522, allocations: 1.619 MB / 1.454 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.522, allocations: 4 kB / 1.454 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/1.523, allocations: 99.88 kB / 1.454 GB, free: 4.594 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/1.523, allocations: 77.2 kB / 1.454 GB, free: 4.516 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/1.523, allocations: 12 kB / 1.454 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/1.525, allocations: 1.776 MB / 1.456 GB, free: 2.59 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.525, allocations: 7.984 kB / 1.456 GB, free: 2.582 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.527, allocations: 1.02 MB / 1.457 GB, free: 1.504 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/1.527, allocations: 132.8 kB / 1.457 GB, free: 1.355 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.527, allocations: 19.98 kB / 1.457 GB, free: 1.336 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/1.528, allocations: 31.98 kB / 1.457 GB, free: 1.305 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.528, allocations: 35.95 kB / 1.457 GB, free: 1.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/1.528, allocations: 32.92 kB / 1.457 GB, free: 1.238 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004694/1.528, allocations: 354.8 kB / 1.458 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.31e-07/1.528, allocations: 4 kB / 1.458 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.005142/1.533, allocations: 1.394 MB / 1.459 GB, free: 15.49 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01165/1.545, allocations: 2.236 MB / 1.461 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002034/1.547, allocations: 0.8075 MB / 1.462 GB, free: 12.36 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.547, allocations: 0 / 1.462 GB, free: 12.36 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/1.548, allocations: 395.2 kB / 1.462 GB, free: 11.96 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.55, allocations: 340.7 kB / 1.463 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/1.562, allocations: 5.794 MB / 1.468 GB, free: 5.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.562, allocations: 0.879 MB / 1.469 GB, free: 4.684 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006007/1.563, allocations: 140.5 kB / 1.469 GB, free: 4.555 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/1.563, allocations: 215.4 kB / 1.47 GB, free: 4.348 MB / 1.154 GB Notification: Performance of SimCode: time 4.41e-07/1.563, allocations: 0 / 1.47 GB, free: 4.348 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.678, allocations: 69.86 MB / 1.538 GB, free: 15.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/15.58, allocations: 17.16 kB / 1.538 GB, free: 15.3 MB / 1.232 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)