Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_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.00793/0.00793, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001971/0.001971, allocations: 190.3 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 63.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.8038, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1842/0.9881, allocations: 162.7 MB / 1.379 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.012/1, allocations: 8.856 MB / 1.388 GB, free: 5.848 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/1.001, allocations: 19.88 kB / 1.388 GB, free: 5.828 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.002, allocations: 341.8 kB / 1.388 GB, free: 5.492 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/1.005, allocations: 1.1 MB / 1.389 GB, free: 4.395 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/1.01, allocations: 2.127 MB / 1.391 GB, free: 2.273 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001861/1.012, allocations: 1.384 MB / 1.392 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000628/1.012, allocations: 430.5 kB / 1.393 GB, free: 468 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004907/1.017, allocations: 2.085 MB / 1.395 GB, free: 14.36 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/1.02, allocations: 1.299 MB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/1.02, allocations: 51.94 kB / 1.396 GB, free: 13 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/1.026, allocations: 2.895 MB / 1.399 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/1.026, allocations: 151.5 kB / 1.399 GB, free: 9.957 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/1.027, allocations: 350.4 kB / 1.4 GB, free: 9.613 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/1.03, allocations: 2.205 MB / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.03, allocations: 0 / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.254e-06/1.03, allocations: 0 / 1.402 GB, free: 7.402 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.03, allocations: 0 / 1.402 GB, free: 7.402 MB / 1.123 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.002164/1.033, allocations: 1.036 MB / 1.403 GB, free: 6.316 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.033, allocations: 15.97 kB / 1.403 GB, free: 6.301 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/1.033, allocations: 94.7 kB / 1.403 GB, free: 6.199 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.034, allocations: 151.4 kB / 1.403 GB, free: 6.051 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/1.035, allocations: 437.8 kB / 1.403 GB, free: 5.586 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/1.035, allocations: 41.31 kB / 1.403 GB, free: 5.543 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.361e-05/1.035, allocations: 52 kB / 1.403 GB, free: 5.492 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.036, allocations: 0.6565 MB / 1.404 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/1.036, allocations: 3.938 kB / 1.404 GB, free: 4.781 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/1.036, allocations: 31.94 kB / 1.404 GB, free: 4.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/1.036, allocations: 16 kB / 1.404 GB, free: 4.734 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.037, allocations: 495.5 kB / 1.405 GB, free: 4.25 MB / 1.123 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.003703/1.041, allocations: 2.984 MB / 1.408 GB, free: 1.035 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/1.042, allocations: 266.3 kB / 1.408 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/1.042, allocations: 165.4 kB / 1.408 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/1.061, allocations: 5.824 MB / 1.414 GB, free: 10.55 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.626e-05/1.061, allocations: 38.56 kB / 1.414 GB, free: 10.5 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/1.061, allocations: 4 kB / 1.414 GB, free: 10.5 MB / 1.139 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.09629/1.157, allocations: 31.89 MB / 1.445 GB, free: 10.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/1.157, allocations: 133 kB / 1.445 GB, free: 10.41 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/1.158, allocations: 369.6 kB / 1.445 GB, free: 10.04 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/1.158, allocations: 37.7 kB / 1.445 GB, free: 10 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/1.158, allocations: 300.8 kB / 1.446 GB, free: 9.699 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.158, allocations: 186.4 kB / 1.446 GB, free: 9.516 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/1.159, allocations: 118.2 kB / 1.446 GB, free: 9.391 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.159, allocations: 354.8 kB / 1.446 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/1.159, allocations: 236.9 kB / 1.446 GB, free: 8.805 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/1.16, allocations: 376.4 kB / 1.447 GB, free: 8.391 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.161, allocations: 0.5864 MB / 1.447 GB, free: 7.758 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.161, allocations: 11.94 kB / 1.447 GB, free: 7.746 MB / 1.17 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002063/1.163, allocations: 0.79 MB / 1.448 GB, free: 6.945 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.164, allocations: 14.59 kB / 1.448 GB, free: 6.934 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.164, allocations: 4 kB / 1.448 GB, free: 6.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005155/1.164, allocations: 122 kB / 1.448 GB, free: 6.805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/1.165, allocations: 127.8 kB / 1.448 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/1.169, allocations: 3.433 MB / 1.452 GB, free: 2.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/1.169, allocations: 40.12 kB / 1.452 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/1.169, allocations: 27.98 kB / 1.452 GB, free: 2.902 MB / 1.17 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.0003147/1.17, allocations: 198.1 kB / 1.452 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/1.17, allocations: 47.72 kB / 1.452 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.172, allocations: 0.7905 MB / 1.453 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.172, allocations: 4 kB / 1.453 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.172, allocations: 0 / 1.453 GB, free: 1.836 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.172, allocations: 3.984 kB / 1.453 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/1.175, allocations: 1.616 MB / 1.454 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.175, allocations: 4 kB / 1.454 GB, free: 116 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/1.176, allocations: 108.2 kB / 1.455 GB, free: 8 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/1.176, allocations: 72.8 kB / 1.455 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/1.176, allocations: 16 kB / 1.455 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.178, allocations: 1.767 MB / 1.456 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/1.178, allocations: 7.938 kB / 1.456 GB, free: 14.01 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.18, allocations: 1.02 MB / 1.457 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/1.181, allocations: 136.8 kB / 1.458 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.181, allocations: 19.98 kB / 1.458 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/1.181, allocations: 19.98 kB / 1.458 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.181, allocations: 55.89 kB / 1.458 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/1.181, allocations: 23.98 kB / 1.458 GB, free: 12.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005252/1.182, allocations: 358.8 kB / 1.458 GB, free: 12.3 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 0 / 1.458 GB, free: 12.3 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004598/1.187, allocations: 1.39 MB / 1.459 GB, free: 10.91 MB / 1.186 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.01029/1.197, allocations: 2.22 MB / 1.462 GB, free: 8.633 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002257/1.199, allocations: 0.8189 MB / 1.462 GB, free: 7.785 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.199, allocations: 0 / 1.462 GB, free: 7.785 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/1.2, allocations: 390.4 kB / 1.463 GB, free: 7.391 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/1.202, allocations: 348.9 kB / 1.463 GB, free: 7.059 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.217, allocations: 5.794 MB / 1.469 GB, free: 1.012 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.218, allocations: 0.8829 MB / 1.47 GB, free: 104 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006727/1.218, allocations: 139.3 kB / 1.47 GB, free: 15.97 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/1.219, allocations: 211.4 kB / 1.47 GB, free: 15.77 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/1.219, allocations: 4 kB / 1.47 GB, free: 15.77 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.354, allocations: 69.86 MB / 1.538 GB, free: 10.71 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/16.41, allocations: 9.594 kB / 1.538 GB, free: 10.7 MB / 1.264 GB (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1)