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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.0008301/0.0008298, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008894/0.0008893, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.644/2.644, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 12 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8446, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1598/1.004, allocations: 147.9 MB / 1.126 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01181/1.016, allocations: 8.515 MB / 1.134 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/1.017, allocations: 15.88 kB / 1.134 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.018, allocations: 254.4 kB / 1.134 GB, free: 9.137 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002858/1.021, allocations: 0.9011 MB / 1.135 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005269/1.026, allocations: 1.644 MB / 1.137 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002599/1.029, allocations: 1.559 MB / 1.138 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005767/1.029, allocations: 347.4 kB / 1.139 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/1.035, allocations: 1.61 MB / 1.14 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/1.038, allocations: 2.107 MB / 1.142 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/1.038, allocations: 28 kB / 1.142 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005524/1.044, allocations: 2.665 MB / 1.145 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001999/1.044, allocations: 127.4 kB / 1.145 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003406/1.044, allocations: 153.4 kB / 1.145 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/1.048, allocations: 1.547 MB / 1.147 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.064e-05/1.048, allocations: 4 kB / 1.147 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.959e-06/1.048, allocations: 3.938 kB / 1.147 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.326e-05/1.048, allocations: 0 / 1.147 GB, free: 12.43 MB / 0.9044 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.002877/1.051, allocations: 0.8928 MB / 1.147 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.051, allocations: 12.03 kB / 1.147 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/1.051, allocations: 94.52 kB / 1.148 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/1.052, allocations: 143.1 kB / 1.148 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/1.053, allocations: 421.8 kB / 1.148 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.053, allocations: 37.31 kB / 1.148 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/1.053, allocations: 48 kB / 1.148 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/1.054, allocations: 0.6721 MB / 1.149 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.054, allocations: 3.938 kB / 1.149 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/1.054, allocations: 24 kB / 1.149 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/1.054, allocations: 15.95 kB / 1.149 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/1.055, allocations: 499.5 kB / 1.149 GB, free: 9.449 MB / 0.9044 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.003639/1.059, allocations: 2.986 MB / 1.152 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/1.059, allocations: 270.4 kB / 1.152 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/1.06, allocations: 176.8 kB / 1.153 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.077, allocations: 5.812 MB / 1.158 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/1.077, allocations: 39.16 kB / 1.158 GB, free: 15.69 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 4.609e-06/1.077, allocations: 0 / 1.158 GB, free: 15.69 MB / 0.92 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.07579/1.153, allocations: 30.43 MB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.153, allocations: 141 kB / 1.188 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/1.153, allocations: 369.6 kB / 1.189 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/1.153, allocations: 37.64 kB / 1.189 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.154, allocations: 288.2 kB / 1.189 GB, free: 380 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/1.154, allocations: 189.2 kB / 1.189 GB, free: 188 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/1.154, allocations: 12 kB / 1.189 GB, free: 176 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001834/1.154, allocations: 358.8 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/1.154, allocations: 241 kB / 1.19 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/1.155, allocations: 376.5 kB / 1.19 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/1.156, allocations: 272.7 kB / 1.19 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.156, allocations: 4 kB / 1.19 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001916/1.158, allocations: 0.8053 MB / 1.191 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.158, allocations: 13.75 kB / 1.191 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.158, allocations: 4 kB / 1.191 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/1.158, allocations: 121.9 kB / 1.191 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/1.159, allocations: 131.8 kB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/1.162, allocations: 3.083 MB / 1.194 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/1.163, allocations: 67.94 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/1.163, allocations: 24 kB / 1.194 GB, free: 10.36 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000348/1.163, allocations: 193.7 kB / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.163, allocations: 51.44 kB / 1.195 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/1.165, allocations: 0.7942 MB / 1.195 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.165, allocations: 7.984 kB / 1.195 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.165, allocations: 4 kB / 1.195 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.165, allocations: 0 / 1.195 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02922/1.195, allocations: 10.56 MB / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.195, allocations: 8 kB / 1.206 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/1.195, allocations: 103.8 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/1.195, allocations: 64.81 kB / 1.206 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.195, allocations: 23.98 kB / 1.206 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/1.197, allocations: 1.549 MB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.197, allocations: 11.94 kB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/1.199, allocations: 0.9863 MB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/1.199, allocations: 140.6 kB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.199, allocations: 27.88 kB / 1.209 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/1.2, allocations: 63.92 kB / 1.209 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.2, allocations: 63.77 kB / 1.209 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/1.2, allocations: 24 kB / 1.209 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003623/1.2, allocations: 271.1 kB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.2, allocations: 0 / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004527/1.205, allocations: 1.39 MB / 1.21 GB, free: 9.395 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009737/1.215, allocations: 2.193 MB / 1.212 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001928/1.216, allocations: 0.7803 MB / 1.213 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.216, allocations: 0 / 1.213 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007112/1.217, allocations: 364.2 kB / 1.214 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.219, allocations: 241.7 kB / 1.214 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/1.227, allocations: 3.684 MB / 1.217 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/1.228, allocations: 0.8863 MB / 1.218 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006408/1.228, allocations: 121.2 kB / 1.218 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/1.229, allocations: 211.4 kB / 1.219 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/1.229, allocations: 0 / 1.219 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7485/1.977, allocations: 68.33 MB / 1.285 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.977, allocations: 306.5 kB / 1.286 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.431/6.409, allocations: 0 / 1.286 GB, free: 230.2 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/linux/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) Environment - environmentSimulation: 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