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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001017/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001567/0.001566, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.21/2.21, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4878, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1394/0.6271, allocations: 160.6 MB / 1.174 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.6388, allocations: 9.75 MB / 1.183 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.6394, allocations: 19.88 kB / 1.183 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.6404, allocations: 286.4 kB / 1.183 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.6427, allocations: 0.9488 MB / 1.184 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.6466, allocations: 1.746 MB / 1.186 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.6482, allocations: 1.813 MB / 1.188 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.6487, allocations: 369.1 kB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.6526, allocations: 1.914 MB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.6552, allocations: 1.323 MB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.424e-05/0.6553, allocations: 28 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/0.6596, allocations: 2.801 MB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.6598, allocations: 131.5 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.6601, allocations: 326.4 kB / 1.195 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.6626, allocations: 2.202 MB / 1.197 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6626, allocations: 4 kB / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6626, allocations: 0 / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.6626, allocations: 0 / 1.197 GB, free: 9.855 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.00174/0.6643, allocations: 1.014 MB / 1.198 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6644, allocations: 8.031 kB / 1.198 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.6645, allocations: 102.7 kB / 1.198 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6656, allocations: 143.1 kB / 1.198 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.6661, allocations: 421.5 kB / 1.198 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.6661, allocations: 37.31 kB / 1.198 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.6662, allocations: 56 kB / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6672, allocations: 0.6697 MB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6673, allocations: 0 / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.6673, allocations: 31.94 kB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.6674, allocations: 12 kB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009816/0.6683, allocations: 487.5 kB / 1.2 GB, free: 6.758 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.002978/0.6713, allocations: 2.994 MB / 1.202 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.6719, allocations: 262.5 kB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.6722, allocations: 168.7 kB / 1.203 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/0.6873, allocations: 5.762 MB / 1.209 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6873, allocations: 34.56 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.6874, allocations: 4 kB / 1.209 GB, free: 13.06 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.07761/0.765, allocations: 31.63 MB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.765, allocations: 133 kB / 1.24 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.7655, allocations: 373.6 kB / 1.24 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.7655, allocations: 37.7 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.7657, allocations: 292.2 kB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.7658, allocations: 185.3 kB / 1.24 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.766, allocations: 114.1 kB / 1.241 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7661, allocations: 354.8 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.7666, allocations: 237 kB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.7672, allocations: 368.5 kB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.7683, allocations: 0.5942 MB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7683, allocations: 11.88 kB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001785/0.7701, allocations: 0.782 MB / 1.243 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7701, allocations: 11.94 kB / 1.243 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7702, allocations: 4 kB / 1.243 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.7706, allocations: 121.9 kB / 1.243 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.7712, allocations: 127.8 kB / 1.243 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.7738, allocations: 3.102 MB / 1.246 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.7744, allocations: 52.11 kB / 1.246 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.7745, allocations: 27.92 kB / 1.246 GB, free: 6.086 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.0002271/0.7747, allocations: 201.6 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.7749, allocations: 55.44 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.7767, allocations: 0.7882 MB / 1.247 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7767, allocations: 7.938 kB / 1.247 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7767, allocations: 4 kB / 1.247 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.7767, allocations: 3.984 kB / 1.247 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.7797, allocations: 1.602 MB / 1.249 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.7797, allocations: 4.125 kB / 1.249 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.7802, allocations: 103.9 kB / 1.249 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.7804, allocations: 77.2 kB / 1.249 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.7805, allocations: 8 kB / 1.249 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.7818, allocations: 1.607 MB / 1.251 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7819, allocations: 4.031 kB / 1.251 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.7838, allocations: 1.026 MB / 1.252 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.7839, allocations: 132.5 kB / 1.252 GB, free: 140 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.784, allocations: 12 kB / 1.252 GB, free: 128 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.7846, allocations: 51.92 kB / 1.252 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.7847, allocations: 47.89 kB / 1.252 GB, free: 28 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.7847, allocations: 23.98 kB / 1.252 GB, free: 4 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3814/1.166, allocations: 350.8 kB / 1.252 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.166, allocations: 0 / 1.252 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003973/1.17, allocations: 1.391 MB / 1.253 GB, free: 221.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.008251/1.178, allocations: 2.223 MB / 1.256 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.18, allocations: 0.8069 MB / 1.256 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.18, allocations: 1 kB / 1.256 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/1.181, allocations: 384.6 kB / 1.257 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.182, allocations: 326.2 kB / 1.257 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009685/1.192, allocations: 6.145 MB / 1.263 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/1.192, allocations: 0.8838 MB / 1.264 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006563/1.193, allocations: 142.1 kB / 1.264 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.193, allocations: 215.3 kB / 1.264 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.193, allocations: 0 / 1.264 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.923/5.117, allocations: 69.02 MB / 1.332 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/5.117, allocations: 319.6 kB / 1.332 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.835/8.952, allocations: 6.5 kB / 1.332 GB, free: 170.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