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.00694/0.00694, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001586/0.001586, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.586/2.586, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2472, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6657/0.9129, allocations: 162.7 MB / 1.325 GB, free: 7.098 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.9241, allocations: 8.865 MB / 1.334 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.9247, allocations: 14.81 kB / 1.334 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.9258, allocations: 355.4 kB / 1.334 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.929, allocations: 1.132 MB / 1.335 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005372/0.9343, allocations: 2.142 MB / 1.337 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.9361, allocations: 1.376 MB / 1.339 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007251/0.9368, allocations: 437.3 kB / 1.339 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/0.9421, allocations: 2.141 MB / 1.341 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.9453, allocations: 1.297 MB / 1.342 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.9455, allocations: 51.59 kB / 1.342 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.9523, allocations: 2.899 MB / 1.345 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.9526, allocations: 154.9 kB / 1.345 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006903/0.9533, allocations: 354 kB / 1.346 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.9575, allocations: 2.232 MB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9575, allocations: 0 / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9575, allocations: 1.156 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.398e-05/0.9575, allocations: 0 / 1.348 GB, free: 11.18 MB / 1.029 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.002807/0.9603, allocations: 1.027 MB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9604, allocations: 9.969 kB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.9605, allocations: 97.7 kB / 1.349 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.9618, allocations: 148.3 kB / 1.349 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.9626, allocations: 431.7 kB / 1.35 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.9627, allocations: 38.75 kB / 1.35 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-05/0.9628, allocations: 57.67 kB / 1.35 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.9641, allocations: 0.6611 MB / 1.35 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.9641, allocations: 1.062 kB / 1.35 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.9642, allocations: 23.59 kB / 1.35 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.9642, allocations: 21.58 kB / 1.35 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.9653, allocations: 495.1 kB / 1.351 GB, free: 9.078 MB / 1.029 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.003622/0.9689, allocations: 2.99 MB / 1.354 GB, free: 6.281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.9696, allocations: 265.5 kB / 1.354 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.9699, allocations: 167.6 kB / 1.354 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/0.9887, allocations: 5.819 MB / 1.36 GB, free: 3.004 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/0.9888, allocations: 40.84 kB / 1.36 GB, free: 2.957 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.455e-06/0.9888, allocations: 1.438 kB / 1.36 GB, free: 2.957 MB / 1.029 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.08848/1.077, allocations: 31.9 MB / 1.391 GB, free: 14.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/1.077, allocations: 133 kB / 1.391 GB, free: 13.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/1.078, allocations: 377.6 kB / 1.392 GB, free: 13.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/1.078, allocations: 33.7 kB / 1.392 GB, free: 13.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.078, allocations: 300.8 kB / 1.392 GB, free: 13.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.078, allocations: 194.4 kB / 1.392 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.079, allocations: 110.2 kB / 1.392 GB, free: 12.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.079, allocations: 354.8 kB / 1.392 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/1.079, allocations: 233 kB / 1.393 GB, free: 12.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006533/1.08, allocations: 372.5 kB / 1.393 GB, free: 11.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.081, allocations: 0.5981 MB / 1.394 GB, free: 11.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.081, allocations: 0.875 kB / 1.394 GB, free: 11.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001987/1.083, allocations: 0.8055 MB / 1.394 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.083, allocations: 7.938 kB / 1.394 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.083, allocations: 7.938 kB / 1.394 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/1.084, allocations: 121.9 kB / 1.395 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/1.084, allocations: 128.9 kB / 1.395 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/1.087, allocations: 3.421 MB / 1.398 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/1.088, allocations: 47.97 kB / 1.398 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/1.088, allocations: 24.08 kB / 1.398 GB, free: 6.34 MB / 1.061 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.0002866/1.088, allocations: 200.2 kB / 1.398 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.089, allocations: 55.67 kB / 1.398 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/1.091, allocations: 0.788 MB / 1.399 GB, free: 5.285 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.091, allocations: 4 kB / 1.399 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.091, allocations: 3.984 kB / 1.399 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.091, allocations: 0 / 1.399 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/1.094, allocations: 1.61 MB / 1.401 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.094, allocations: 4.406 kB / 1.401 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/1.095, allocations: 107.9 kB / 1.401 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/1.095, allocations: 68.81 kB / 1.401 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/1.095, allocations: 19.98 kB / 1.401 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.097, allocations: 1.779 MB / 1.403 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.097, allocations: 4 kB / 1.403 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/1.099, allocations: 1.028 MB / 1.404 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/1.099, allocations: 132.7 kB / 1.404 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.099, allocations: 23.88 kB / 1.404 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/1.099, allocations: 31.97 kB / 1.404 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/1.1, allocations: 36.02 kB / 1.404 GB, free: 120 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/1.1, allocations: 23.94 kB / 1.404 GB, free: 96 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004627/1.1, allocations: 358.8 kB / 1.404 GB, free: 15.74 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.643e-06/1.1, allocations: 0 / 1.404 GB, free: 15.74 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004875/1.105, allocations: 1.397 MB / 1.406 GB, free: 14.34 MB / 1.076 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.01096/1.116, allocations: 2.227 MB / 1.408 GB, free: 12.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.118, allocations: 0.8191 MB / 1.409 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.118, allocations: 0 / 1.409 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/1.119, allocations: 383.2 kB / 1.409 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.121, allocations: 336.9 kB / 1.409 GB, free: 10.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.133, allocations: 5.805 MB / 1.415 GB, free: 4.449 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/1.133, allocations: 0.8828 MB / 1.416 GB, free: 3.539 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006311/1.134, allocations: 148.2 kB / 1.416 GB, free: 3.406 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/1.134, allocations: 215.4 kB / 1.416 GB, free: 3.195 MB / 1.076 GB Notification: Performance of SimCode: time 7.92e-07/1.134, allocations: 0 / 1.416 GB, free: 3.195 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.243, allocations: 70.06 MB / 1.485 GB, free: 14.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.27, allocations: 6.672 kB / 1.485 GB, free: 14.04 MB / 1.154 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)