Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_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_latest_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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001183/0.001183, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.88 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2339, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1402/0.3741, allocations: 160.6 MB / 1.209 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3853, allocations: 9.756 MB / 1.219 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005379/0.3859, allocations: 15.94 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.3867, allocations: 282.4 kB / 1.219 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.389, allocations: 0.9635 MB / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003624/0.3926, allocations: 1.746 MB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3942, allocations: 1.809 MB / 1.223 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.3948, allocations: 373.1 kB / 1.224 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.3987, allocations: 1.906 MB / 1.226 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.4013, allocations: 1.323 MB / 1.227 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.4015, allocations: 32 kB / 1.227 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.4058, allocations: 2.801 MB / 1.23 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.406, allocations: 139.4 kB / 1.23 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.4064, allocations: 322.5 kB / 1.23 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.4091, allocations: 2.202 MB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4091, allocations: 0 / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.61e-07/0.4091, allocations: 4 kB / 1.232 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.4091, allocations: 0 / 1.232 GB, free: 15.26 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.001903/0.411, allocations: 0.9981 MB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4111, allocations: 8.031 kB / 1.233 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.4112, allocations: 102.7 kB / 1.233 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.4123, allocations: 143.1 kB / 1.233 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.4128, allocations: 429.5 kB / 1.234 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.4129, allocations: 41.31 kB / 1.234 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.413, allocations: 52 kB / 1.234 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4141, allocations: 0.6721 MB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4141, allocations: 0 / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.4142, allocations: 27.94 kB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.4142, allocations: 12 kB / 1.235 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4152, allocations: 487.5 kB / 1.235 GB, free: 12.17 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.003108/0.4183, allocations: 2.99 MB / 1.238 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.4189, allocations: 268.3 kB / 1.238 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.4192, allocations: 169.3 kB / 1.238 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01543/0.4347, allocations: 5.762 MB / 1.244 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4347, allocations: 42.42 kB / 1.244 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 1.904e-06/0.4347, allocations: 0 / 1.244 GB, free: 2.469 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.4617/0.8964, allocations: 31.6 MB / 1.275 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.8965, allocations: 138.7 kB / 1.275 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.8968, allocations: 366.9 kB / 1.275 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.8969, allocations: 40.39 kB / 1.275 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.897, allocations: 295 kB / 1.276 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.8971, allocations: 186.3 kB / 1.276 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.8972, allocations: 112 kB / 1.276 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.8973, allocations: 360.9 kB / 1.276 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.8978, allocations: 234.4 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.8983, allocations: 367.9 kB / 1.277 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.8991, allocations: 0.6033 MB / 1.278 GB, free: 190 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8992, allocations: 0 / 1.278 GB, free: 190 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00154/0.9007, allocations: 0.7918 MB / 1.278 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.9007, allocations: 4 kB / 1.278 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9007, allocations: 5.188 kB / 1.278 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.9012, allocations: 127.7 kB / 1.278 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.9017, allocations: 123.4 kB / 1.279 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.9037, allocations: 3.09 MB / 1.282 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.9042, allocations: 51.55 kB / 1.282 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.9043, allocations: 35.66 kB / 1.282 GB, free: 186 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.0001898/0.9045, allocations: 198.2 kB / 1.282 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.9046, allocations: 47.44 kB / 1.282 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.9061, allocations: 0.7889 MB / 1.283 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9062, allocations: 7.828 kB / 1.283 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.9062, allocations: 0 / 1.283 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9062, allocations: 3.984 kB / 1.283 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.9086, allocations: 1.608 MB / 1.284 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9086, allocations: 4 kB / 1.284 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.909, allocations: 99.5 kB / 1.284 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.9092, allocations: 80.33 kB / 1.284 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.9093, allocations: 15.62 kB / 1.284 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.9103, allocations: 1.602 MB / 1.286 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9104, allocations: 4 kB / 1.286 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.912, allocations: 1.014 MB / 1.287 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.9121, allocations: 133.1 kB / 1.287 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.9122, allocations: 15.62 kB / 1.287 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.9127, allocations: 56.55 kB / 1.287 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.9128, allocations: 47.7 kB / 1.287 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.9128, allocations: 23.67 kB / 1.287 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003125/0.9131, allocations: 354.1 kB / 1.288 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9131, allocations: 0 / 1.288 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003976/0.9171, allocations: 1.388 MB / 1.289 GB, free: 179.6 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.007747/0.9249, allocations: 2.227 MB / 1.291 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.9262, allocations: 0.8024 MB / 1.292 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9262, allocations: 4 kB / 1.292 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.9268, allocations: 382 kB / 1.292 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9282, allocations: 329.6 kB / 1.293 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/0.936, allocations: 6.16 MB / 1.299 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.9362, allocations: 0.8816 MB / 1.299 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005501/0.9368, allocations: 139.3 kB / 1.3 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.9371, allocations: 219.3 kB / 1.3 GB, free: 170 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9371, allocations: 0 / 1.3 GB, free: 170 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/1.043, allocations: 69.03 MB / 1.367 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/1.043, allocations: 335.1 kB / 1.368 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.312/4.355, allocations: 2.812 kB / 1.368 GB, free: 101.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat