Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_10_Buildings_Experimental_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.001231/0.00123, allocations: 108 kB / 15.61 MB, free: 152 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.001239/0.001239, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.14 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5717, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1552/0.7269, allocations: 162.7 MB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.7372, allocations: 8.862 MB / 1.185 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006089/0.7378, allocations: 19.88 kB / 1.185 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.7389, allocations: 349.8 kB / 1.185 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.7415, allocations: 1.1 MB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.746, allocations: 2.123 MB / 1.188 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.7475, allocations: 1.38 MB / 1.19 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.7482, allocations: 437.5 kB / 1.19 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004376/0.7526, allocations: 2.081 MB / 1.192 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.7554, allocations: 1.299 MB / 1.194 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.7555, allocations: 52 kB / 1.194 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005223/0.7607, allocations: 2.817 MB / 1.196 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.7609, allocations: 147.5 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.7615, allocations: 358.4 kB / 1.197 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.7648, allocations: 2.221 MB / 1.199 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7648, allocations: 4 kB / 1.199 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7648, allocations: 4 kB / 1.199 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.146e-05/0.7649, allocations: 0 / 1.199 GB, free: 7.984 MB / 0.9512 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.001898/0.7668, allocations: 0.998 MB / 1.2 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7668, allocations: 8.031 kB / 1.2 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.7669, allocations: 102.7 kB / 1.2 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.768, allocations: 147.1 kB / 1.2 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/0.7686, allocations: 417.5 kB / 1.201 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.7686, allocations: 45.25 kB / 1.201 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.7687, allocations: 55.98 kB / 1.201 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.7698, allocations: 0.6682 MB / 1.201 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.7698, allocations: 4 kB / 1.201 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/0.7699, allocations: 27.94 kB / 1.201 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.7699, allocations: 16 kB / 1.201 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.7709, allocations: 487.5 kB / 1.202 GB, free: 4.891 MB / 0.9512 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.003038/0.7739, allocations: 3.014 MB / 1.205 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.7745, allocations: 272.3 kB / 1.205 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.7749, allocations: 172.7 kB / 1.205 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01765/0.7925, allocations: 5.75 MB / 1.211 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.7926, allocations: 38.56 kB / 1.211 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.214e-06/0.7926, allocations: 4 kB / 1.211 GB, free: 11.17 MB / 0.9669 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.0896/0.8822, allocations: 31.63 MB / 1.242 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.8823, allocations: 133 kB / 1.242 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.8828, allocations: 377.5 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.8829, allocations: 37.7 kB / 1.242 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.8831, allocations: 288.2 kB / 1.243 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.8833, allocations: 177.4 kB / 1.243 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.8835, allocations: 114.1 kB / 1.243 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8836, allocations: 358.8 kB / 1.243 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.8842, allocations: 237 kB / 1.243 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.8848, allocations: 368.5 kB / 1.244 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.8859, allocations: 0.5941 MB / 1.244 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8859, allocations: 7.938 kB / 1.244 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001868/0.8878, allocations: 0.7899 MB / 1.245 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.8878, allocations: 11.94 kB / 1.245 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.8879, allocations: 4 kB / 1.245 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004843/0.8883, allocations: 121.6 kB / 1.245 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.8889, allocations: 135.9 kB / 1.245 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.8918, allocations: 3.433 MB / 1.249 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.8924, allocations: 31.97 kB / 1.249 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.8925, allocations: 24.12 kB / 1.249 GB, free: 3.875 MB / 0.9981 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.0002562/0.8928, allocations: 189.9 kB / 1.249 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.8929, allocations: 63.47 kB / 1.249 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.8948, allocations: 0.7955 MB / 1.25 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.8948, allocations: 4 kB / 1.25 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.8948, allocations: 3.938 kB / 1.25 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8948, allocations: 0 / 1.25 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.8979, allocations: 1.602 MB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8979, allocations: 4 kB / 1.251 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.8984, allocations: 99.88 kB / 1.251 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.8986, allocations: 73.22 kB / 1.252 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.8987, allocations: 19.92 kB / 1.252 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4807/1.379, allocations: 1.764 MB / 1.253 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.379, allocations: 8.625 kB / 1.253 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.382, allocations: 1.021 MB / 1.254 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.382, allocations: 131.9 kB / 1.254 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.382, allocations: 19.12 kB / 1.254 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/1.383, allocations: 28.3 kB / 1.254 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.383, allocations: 51.66 kB / 1.255 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/1.383, allocations: 23.89 kB / 1.255 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005494/1.383, allocations: 351.7 kB / 1.255 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.383, allocations: 0 / 1.255 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004111/1.387, allocations: 1.385 MB / 1.256 GB, free: 220.3 MB / 0.9981 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.008969/1.396, allocations: 2.223 MB / 1.258 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.398, allocations: 0.8392 MB / 1.259 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.398, allocations: 1.719 kB / 1.259 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/1.399, allocations: 383.2 kB / 1.26 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.401, allocations: 343.2 kB / 1.26 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.412, allocations: 5.962 MB / 1.266 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.412, allocations: 0.8785 MB / 1.267 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007634/1.413, allocations: 152.9 kB / 1.267 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/1.413, allocations: 209.9 kB / 1.267 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.413, allocations: 0 / 1.267 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09471/1.508, allocations: 69.86 MB / 1.335 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.74, allocations: 17.09 kB / 1.335 GB, free: 167.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)