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.001094/0.001094, 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.001118/0.001118, allocations: 192.1 kB / 16.53 MB, free: 6.664 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.31/2.31, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4835, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1329/0.6165, allocations: 162.7 MB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009051/0.6256, allocations: 8.882 MB / 1.185 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.6259, allocations: 15.88 kB / 1.185 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.6267, allocations: 345.8 kB / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.6286, allocations: 1.097 MB / 1.186 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.6322, allocations: 2.12 MB / 1.188 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.6332, allocations: 1.372 MB / 1.19 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004627/0.6337, allocations: 437.5 kB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.6372, allocations: 2.085 MB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.6395, allocations: 1.295 MB / 1.194 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.539e-05/0.6396, allocations: 55.94 kB / 1.194 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.6435, allocations: 2.821 MB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.6437, allocations: 147.5 kB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.644, allocations: 354.4 kB / 1.197 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.646, allocations: 2.229 MB / 1.199 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.646, allocations: 0 / 1.199 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.646, allocations: 0 / 1.199 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.646, allocations: 0 / 1.199 GB, free: 7.91 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.001451/0.6475, allocations: 1.007 MB / 1.2 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.6475, allocations: 12.03 kB / 1.2 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.553e-05/0.6476, allocations: 98.7 kB / 1.2 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.6486, allocations: 139.1 kB / 1.2 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.6491, allocations: 421.6 kB / 1.201 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.6491, allocations: 41.31 kB / 1.201 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.6492, allocations: 51.98 kB / 1.201 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.6502, allocations: 0.6682 MB / 1.201 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.6502, allocations: 4 kB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.6503, allocations: 31.94 kB / 1.201 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6503, allocations: 12 kB / 1.201 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.6513, allocations: 491.5 kB / 1.202 GB, free: 4.816 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.002792/0.6541, allocations: 3.006 MB / 1.205 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.6546, allocations: 270.4 kB / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.6549, allocations: 172.7 kB / 1.205 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01664/0.6716, allocations: 5.754 MB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.6716, allocations: 38.56 kB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.452e-06/0.6716, allocations: 0 / 1.211 GB, free: 11.11 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.08852/0.7602, allocations: 31.64 MB / 1.242 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.7602, allocations: 133 kB / 1.242 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.7607, allocations: 381.5 kB / 1.242 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.7608, allocations: 33.7 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.7609, allocations: 292.2 kB / 1.243 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.7611, allocations: 181.4 kB / 1.243 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.7612, allocations: 114.1 kB / 1.243 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7613, allocations: 350.8 kB / 1.243 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/0.7619, allocations: 237 kB / 1.243 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.7625, allocations: 372.5 kB / 1.244 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.7636, allocations: 0.5942 MB / 1.244 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7636, allocations: 3.938 kB / 1.244 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001861/0.7654, allocations: 0.7898 MB / 1.245 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.7655, allocations: 7.938 kB / 1.245 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7655, allocations: 7.938 kB / 1.245 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.7659, allocations: 121.9 kB / 1.245 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.7665, allocations: 127.8 kB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.7693, allocations: 3.444 MB / 1.249 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.7699, allocations: 35.97 kB / 1.249 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.77, allocations: 24.09 kB / 1.249 GB, free: 3.793 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.0002361/0.7702, allocations: 191.2 kB / 1.249 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.7704, allocations: 55.42 kB / 1.249 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.7721, allocations: 0.7905 MB / 1.25 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7722, allocations: 4 kB / 1.25 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.7722, allocations: 0 / 1.25 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.7722, allocations: 0 / 1.25 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.7752, allocations: 1.602 MB / 1.251 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7752, allocations: 416 / 1.251 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.7757, allocations: 107.9 kB / 1.251 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.7759, allocations: 68.75 kB / 1.252 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.776, allocations: 19.98 kB / 1.252 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3869/1.163, allocations: 1.77 MB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.163, allocations: 8.656 kB / 1.253 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/1.165, allocations: 1.021 MB / 1.254 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.165, allocations: 130.3 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.165, allocations: 20.98 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/1.166, allocations: 28.5 kB / 1.254 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.166, allocations: 51.22 kB / 1.255 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/1.166, allocations: 22.27 kB / 1.255 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005624/1.167, allocations: 353.8 kB / 1.255 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.167, allocations: 0 / 1.255 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00424/1.171, allocations: 1.387 MB / 1.256 GB, free: 220.1 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.00917/1.18, allocations: 2.226 MB / 1.258 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001862/1.182, allocations: 0.8409 MB / 1.259 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.182, allocations: 2.125 kB / 1.259 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/1.183, allocations: 387.9 kB / 1.26 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/1.185, allocations: 343.2 kB / 1.26 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.195, allocations: 5.953 MB / 1.266 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.196, allocations: 0.8837 MB / 1.267 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006728/1.196, allocations: 142.4 kB / 1.267 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.197, allocations: 211 kB / 1.267 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.197, allocations: 0 / 1.267 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.676/7.873, allocations: 69.87 MB / 1.335 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/24.6, allocations: 11.05 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat