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.00144/0.00144, 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.001353/0.001352, allocations: 192.5 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.543/2.543, allocations: 469.8 MB / 0.7424 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 62.86 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2358, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1637/0.3995, allocations: 162.7 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.4103, allocations: 8.868 MB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004481/0.4107, allocations: 15.94 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.4116, allocations: 345.8 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.4139, allocations: 1.095 MB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.4182, allocations: 2.127 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.4197, allocations: 1.368 MB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.4203, allocations: 449.3 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00392/0.4242, allocations: 2.077 MB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.4267, allocations: 1.299 MB / 1.24 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.4268, allocations: 52 kB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.431, allocations: 2.821 MB / 1.243 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.4312, allocations: 151.5 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.4315, allocations: 354.4 kB / 1.243 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.4338, allocations: 2.206 MB / 1.246 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4338, allocations: 0 / 1.246 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4339, allocations: 3.938 kB / 1.246 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4339, allocations: 0 / 1.246 GB, free: 3.711 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.001575/0.4354, allocations: 0.998 MB / 1.247 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4355, allocations: 12.03 kB / 1.247 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.4356, allocations: 98.7 kB / 1.247 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009992/0.4366, allocations: 147.1 kB / 1.247 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.4371, allocations: 417.5 kB / 1.247 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.4372, allocations: 41.31 kB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.4373, allocations: 52 kB / 1.247 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.4384, allocations: 0.6721 MB / 1.248 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.4384, allocations: 7.938 kB / 1.248 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.4385, allocations: 27.92 kB / 1.248 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4385, allocations: 16 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.4395, allocations: 487.6 kB / 1.248 GB, free: 0.6172 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.3496/0.7891, allocations: 2.996 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.7897, allocations: 270.2 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.79, allocations: 165.2 kB / 1.252 GB, free: 186 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/0.8063, allocations: 5.755 MB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.8064, allocations: 38.12 kB / 1.257 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.545e-06/0.8064, allocations: 1.5 kB / 1.257 GB, free: 184.6 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.07943/0.8858, allocations: 31.59 MB / 1.288 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.8859, allocations: 133 kB / 1.288 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.8862, allocations: 374.4 kB / 1.289 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.8863, allocations: 40.89 kB / 1.289 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.8863, allocations: 297.7 kB / 1.289 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.8864, allocations: 177.8 kB / 1.289 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.8866, allocations: 108.4 kB / 1.289 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.8866, allocations: 359.2 kB / 1.29 GB, free: 174 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.8871, allocations: 235 kB / 1.29 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.8876, allocations: 380.2 kB / 1.29 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.8885, allocations: 0.5864 MB / 1.291 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8885, allocations: 0 / 1.291 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001528/0.89, allocations: 0.7918 MB / 1.292 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.89, allocations: 8 kB / 1.292 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.89, allocations: 0 / 1.292 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.8904, allocations: 131.9 kB / 1.292 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.8909, allocations: 130.9 kB / 1.292 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.8929, allocations: 3.432 MB / 1.295 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.8934, allocations: 39.06 kB / 1.295 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.8934, allocations: 32.2 kB / 1.295 GB, free: 168.8 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.0001806/0.8936, allocations: 199.2 kB / 1.296 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.8938, allocations: 47.44 kB / 1.296 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.8952, allocations: 0.7861 MB / 1.296 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8953, allocations: 8.047 kB / 1.296 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.8953, allocations: 7.969 kB / 1.296 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8953, allocations: 0 / 1.296 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.8976, allocations: 1.61 MB / 1.298 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.8976, allocations: 9.281 kB / 1.298 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.8981, allocations: 102.8 kB / 1.298 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.8982, allocations: 74.62 kB / 1.298 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.8983, allocations: 19.23 kB / 1.298 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.8993, allocations: 1.768 MB / 1.3 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8993, allocations: 8.062 kB / 1.3 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.9009, allocations: 1.016 MB / 1.301 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.901, allocations: 128.6 kB / 1.301 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.9011, allocations: 19.98 kB / 1.301 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.9015, allocations: 28.86 kB / 1.301 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.9016, allocations: 47.88 kB / 1.301 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.9016, allocations: 20.55 kB / 1.301 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002979/0.9019, allocations: 358.8 kB / 1.301 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9019, allocations: 0 / 1.301 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003024/0.9049, allocations: 1.389 MB / 1.303 GB, free: 161.8 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.006838/0.9118, allocations: 2.222 MB / 1.305 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9132, allocations: 0.8392 MB / 1.306 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9132, allocations: 0 / 1.306 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.9138, allocations: 384.2 kB / 1.306 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.9151, allocations: 338 kB / 1.306 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.9224, allocations: 5.951 MB / 1.312 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.9226, allocations: 0.879 MB / 1.313 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.9231, allocations: 142.7 kB / 1.313 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.9233, allocations: 215.4 kB / 1.313 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.72e-07/0.9233, allocations: 0 / 1.313 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.697/3.62, allocations: 69.64 MB / 1.382 GB, free: 81.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.67/33.29, allocations: 16.98 kB / 1.382 GB, free: 81.77 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat