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.001103/0.001103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001091/0.001091, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.335/2.335, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.8689 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5157/0.5169, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.143/0.66, allocations: 160.6 MB / 1.174 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.6703, allocations: 9.008 MB / 1.183 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.6708, allocations: 23.81 kB / 1.183 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.6717, allocations: 302.4 kB / 1.183 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.674, allocations: 0.9921 MB / 1.184 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.6782, allocations: 1.894 MB / 1.186 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.6796, allocations: 1.387 MB / 1.187 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005899/0.6802, allocations: 425.4 kB / 1.187 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.6842, allocations: 2.016 MB / 1.189 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.6864, allocations: 1.319 MB / 1.191 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.955e-05/0.6865, allocations: 52 kB / 1.191 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.6906, allocations: 2.829 MB / 1.194 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.6908, allocations: 151.5 kB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.6912, allocations: 354.5 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.6936, allocations: 2.217 MB / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6936, allocations: 0 / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6937, allocations: 0 / 1.196 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.6937, allocations: 4 kB / 1.196 GB, free: 10.49 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.001801/0.6955, allocations: 1.01 MB / 1.197 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6955, allocations: 8.031 kB / 1.197 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.6956, allocations: 102.7 kB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.6968, allocations: 147.1 kB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005208/0.6973, allocations: 421.5 kB / 1.198 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.6973, allocations: 41.31 kB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.6974, allocations: 56 kB / 1.198 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.6985, allocations: 0.6643 MB / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.6986, allocations: 0 / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.6986, allocations: 31.94 kB / 1.199 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.6987, allocations: 12 kB / 1.199 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.6996, allocations: 495.5 kB / 1.199 GB, free: 7.387 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.003049/0.7027, allocations: 2.986 MB / 1.202 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.7032, allocations: 274.2 kB / 1.202 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.7036, allocations: 164.8 kB / 1.202 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/0.7193, allocations: 5.758 MB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7193, allocations: 38.56 kB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.513e-06/0.7193, allocations: 0 / 1.208 GB, free: 13.7 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.08221/0.8016, allocations: 31.63 MB / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.8017, allocations: 140.9 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.8021, allocations: 369.6 kB / 1.239 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.8022, allocations: 37.7 kB / 1.239 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.8024, allocations: 292.2 kB / 1.24 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.8025, allocations: 181.3 kB / 1.24 GB, free: 13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.8027, allocations: 118.1 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8028, allocations: 358.8 kB / 1.24 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.8033, allocations: 237 kB / 1.241 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.804, allocations: 380.4 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.805, allocations: 0.5903 MB / 1.242 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.805, allocations: 7.938 kB / 1.242 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001825/0.8069, allocations: 0.7784 MB / 1.242 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8069, allocations: 19.92 kB / 1.242 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8069, allocations: 4 kB / 1.242 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.8074, allocations: 121.5 kB / 1.242 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.8079, allocations: 131.8 kB / 1.243 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.8109, allocations: 3.437 MB / 1.246 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.8116, allocations: 47.95 kB / 1.246 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.8116, allocations: 32.05 kB / 1.246 GB, free: 6.355 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.0002983/0.8119, allocations: 197.6 kB / 1.246 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.8121, allocations: 47.44 kB / 1.246 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.8139, allocations: 0.787 MB / 1.247 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.8139, allocations: 8 kB / 1.247 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.8139, allocations: 0 / 1.247 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.8139, allocations: 3.984 kB / 1.247 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.817, allocations: 1.602 MB / 1.249 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.817, allocations: 4.406 kB / 1.249 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/0.8175, allocations: 107.8 kB / 1.249 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/0.8178, allocations: 72.78 kB / 1.249 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.8178, allocations: 16 kB / 1.249 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.8194, allocations: 1.771 MB / 1.251 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8194, allocations: 4 kB / 1.251 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.8214, allocations: 1.026 MB / 1.252 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.8216, allocations: 136.4 kB / 1.252 GB, free: 252 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.8217, allocations: 19.91 kB / 1.252 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.8223, allocations: 48.02 kB / 1.252 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.8224, allocations: 51.77 kB / 1.252 GB, free: 132 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.8225, allocations: 28 kB / 1.252 GB, free: 104 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3678/1.19, allocations: 351.5 kB / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.01e-07/1.19, allocations: 0 / 1.252 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003913/1.194, allocations: 1.394 MB / 1.253 GB, free: 221.5 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.007924/1.202, allocations: 2.209 MB / 1.256 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.204, allocations: 0.8356 MB / 1.256 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.204, allocations: 1.25 kB / 1.256 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/1.205, allocations: 385.2 kB / 1.257 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.206, allocations: 340.1 kB / 1.257 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/1.216, allocations: 6.148 MB / 1.263 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/1.216, allocations: 0.8766 MB / 1.264 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006814/1.217, allocations: 146.1 kB / 1.264 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.217, allocations: 219 kB / 1.264 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.217, allocations: 0 / 1.264 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5049/1.722, allocations: 69.64 MB / 1.332 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.722, allocations: 326.9 kB / 1.333 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.774/5.496, allocations: 0 / 1.333 GB, free: 169.6 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