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.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.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.0018/0.0018, allocations: 108 kB / 15.6 MB, free: 132 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.002131/0.002131, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.375/1.375, 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 11.0.1-master/package.mo): time 2.75/2.75, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 65.98 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1591/0.4762, allocations: 162.6 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.4875, allocations: 8.88 MB / 1.231 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000644/0.4882, allocations: 11.94 kB / 1.231 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.4893, allocations: 349.8 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.4921, allocations: 1.087 MB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005054/0.4972, allocations: 2.135 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.4988, allocations: 1.368 MB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.4995, allocations: 437.4 kB / 1.236 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.5044, allocations: 2.081 MB / 1.238 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.5074, allocations: 1.307 MB / 1.24 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.5076, allocations: 52 kB / 1.24 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005507/0.5131, allocations: 2.813 MB / 1.243 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.5133, allocations: 155.5 kB / 1.243 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005193/0.5139, allocations: 354.4 kB / 1.243 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.5174, allocations: 2.206 MB / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5175, allocations: 0 / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5175, allocations: 0 / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.5175, allocations: 0 / 1.245 GB, free: 3.922 MB / 0.9981 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.002178/0.5197, allocations: 0.9941 MB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5197, allocations: 16.03 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.5199, allocations: 94.7 kB / 1.246 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.5211, allocations: 151.1 kB / 1.246 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.5217, allocations: 417.5 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.5217, allocations: 41.31 kB / 1.247 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.5218, allocations: 59.92 kB / 1.247 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.523, allocations: 0.6721 MB / 1.248 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.523, allocations: 4 kB / 1.248 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/0.5231, allocations: 27.94 kB / 1.248 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.5231, allocations: 15.94 kB / 1.248 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.5242, allocations: 491.5 kB / 1.248 GB, free: 0.8203 MB / 0.9981 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.4715/0.9958, allocations: 2.988 MB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.9965, allocations: 267.4 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.9969, allocations: 172.4 kB / 1.251 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/1.015, allocations: 5.749 MB / 1.257 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.015, allocations: 37.45 kB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 3.437e-06/1.015, allocations: 0 / 1.257 GB, free: 184.7 MB / 0.9981 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.09276/1.108, allocations: 31.6 MB / 1.288 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/1.108, allocations: 133 kB / 1.288 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/1.109, allocations: 373.4 kB / 1.288 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/1.109, allocations: 37.27 kB / 1.288 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/1.109, allocations: 294.4 kB / 1.289 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.313e-05/1.109, allocations: 180.6 kB / 1.289 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.109, allocations: 111.9 kB / 1.289 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/1.109, allocations: 358.2 kB / 1.289 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/1.11, allocations: 238.8 kB / 1.29 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.11, allocations: 373.7 kB / 1.29 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/1.111, allocations: 0.5929 MB / 1.291 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.111, allocations: 0 / 1.291 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001725/1.113, allocations: 0.7959 MB / 1.291 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.113, allocations: 12.31 kB / 1.291 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.113, allocations: 4 kB / 1.291 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/1.113, allocations: 120 kB / 1.291 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/1.114, allocations: 127.3 kB / 1.292 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.116, allocations: 3.429 MB / 1.295 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005451/1.117, allocations: 42.12 kB / 1.295 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/1.117, allocations: 27.86 kB / 1.295 GB, free: 169.1 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.0002249/1.117, allocations: 197.5 kB / 1.295 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/1.117, allocations: 47.44 kB / 1.295 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.119, allocations: 0.7851 MB / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.119, allocations: 8 kB / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/1.119, allocations: 0 / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.119, allocations: 7.984 kB / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/1.122, allocations: 1.613 MB / 1.298 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/1.122, allocations: 4 kB / 1.298 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/1.122, allocations: 100.9 kB / 1.298 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/1.122, allocations: 72.23 kB / 1.298 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/1.122, allocations: 15.88 kB / 1.298 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/1.124, allocations: 1.783 MB / 1.299 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.124, allocations: 10.27 kB / 1.299 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.125, allocations: 1.012 MB / 1.3 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.056e-05/1.125, allocations: 132.3 kB / 1.301 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/1.126, allocations: 23.92 kB / 1.301 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/1.126, allocations: 24.05 kB / 1.301 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/1.126, allocations: 42.02 kB / 1.301 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/1.126, allocations: 27.92 kB / 1.301 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003385/1.127, allocations: 358.8 kB / 1.301 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.127, allocations: 0 / 1.301 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004123/1.131, allocations: 1.389 MB / 1.302 GB, free: 162.2 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.009499/1.14, allocations: 2.207 MB / 1.305 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001941/1.142, allocations: 0.8452 MB / 1.305 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.142, allocations: 0 / 1.305 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006311/1.143, allocations: 391.3 kB / 1.306 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.144, allocations: 345.2 kB / 1.306 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/1.154, allocations: 5.958 MB / 1.312 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/1.154, allocations: 0.8751 MB / 1.313 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006593/1.155, allocations: 137 kB / 1.313 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/1.155, allocations: 211.4 kB / 1.313 GB, free: 151 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.155, allocations: 4 kB / 1.313 GB, free: 151 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/1.291, allocations: 69.65 MB / 1.381 GB, free: 82.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.61, allocations: 6.562 kB / 1.381 GB, free: 82.09 MB / 0.9981 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)