Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation",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.001083/0.001083, allocations: 87.11 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.001343/0.001343, 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.538/1.538, allocations: 223.2 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.677/2.677, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8365/0.8369, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1919/1.029, allocations: 148.4 MB / 1.126 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01111/1.04, allocations: 7.803 MB / 1.134 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/1.041, allocations: 15.94 kB / 1.134 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009313/1.042, allocations: 250.4 kB / 1.134 GB, free: 9.332 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.001877/1.044, allocations: 0.6063 MB / 1.135 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/1.049, allocations: 1.656 MB / 1.136 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.051, allocations: 1.559 MB / 1.138 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/1.051, allocations: 327.5 kB / 1.138 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/1.054, allocations: 1.124 MB / 1.139 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006262/1.055, allocations: 422.3 kB / 1.14 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/1.055, allocations: 28 kB / 1.14 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006741/1.062, allocations: 3.363 MB / 1.143 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002445/1.062, allocations: 123.5 kB / 1.143 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/1.062, allocations: 145.6 kB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/1.065, allocations: 1.793 MB / 1.145 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.065, allocations: 3.938 kB / 1.145 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.368e-06/1.065, allocations: 0 / 1.145 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.065, allocations: 7.938 kB / 1.145 GB, free: 14.17 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.001986/1.067, allocations: 0.8982 MB / 1.146 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.067, allocations: 12.03 kB / 1.146 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/1.067, allocations: 106.5 kB / 1.146 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.068, allocations: 139.1 kB / 1.146 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/1.069, allocations: 405.8 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/1.069, allocations: 45.31 kB / 1.146 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/1.069, allocations: 52 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/1.07, allocations: 0.6604 MB / 1.147 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.07, allocations: 7.938 kB / 1.147 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/1.07, allocations: 27.94 kB / 1.147 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.07, allocations: 12 kB / 1.147 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00094/1.071, allocations: 479.5 kB / 1.148 GB, free: 11.21 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.01447/1.086, allocations: 6.506 MB / 1.154 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/1.086, allocations: 171.1 kB / 1.154 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/1.086, allocations: 129.3 kB / 1.154 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/1.097, allocations: 3.857 MB / 1.158 GB, free: 112 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/1.097, allocations: 34.8 kB / 1.158 GB, free: 68 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/1.097, allocations: 4 kB / 1.158 GB, free: 64 kB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.06892/1.166, allocations: 29.14 MB / 1.186 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/1.166, allocations: 140.4 kB / 1.187 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/1.167, allocations: 453.8 kB / 1.187 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/1.167, allocations: 37.7 kB / 1.187 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/1.167, allocations: 303.5 kB / 1.187 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/1.167, allocations: 141.9 kB / 1.188 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/1.167, allocations: 12 kB / 1.188 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.167, allocations: 362.8 kB / 1.188 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/1.168, allocations: 181 kB / 1.188 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/1.168, allocations: 353.2 kB / 1.188 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/1.169, allocations: 236.9 kB / 1.189 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.169, allocations: 0 / 1.189 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001662/1.17, allocations: 0.7029 MB / 1.189 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.17, allocations: 11.95 kB / 1.189 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.17, allocations: 4 kB / 1.189 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/1.171, allocations: 122 kB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/1.171, allocations: 115.8 kB / 1.19 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/1.174, allocations: 3.071 MB / 1.193 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/1.175, allocations: 44.09 kB / 1.193 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.175, allocations: 20 kB / 1.193 GB, free: 12.24 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0003005/1.175, allocations: 194.4 kB / 1.193 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/1.176, allocations: 67.27 kB / 1.193 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/1.177, allocations: 0.6525 MB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.177, allocations: 4 kB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.177, allocations: 0 / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.177, allocations: 0 / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/1.179, allocations: 1.225 MB / 1.195 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.179, allocations: 4 kB / 1.195 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/1.179, allocations: 71.89 kB / 1.195 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/1.18, allocations: 77.3 kB / 1.195 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.18, allocations: 8 kB / 1.195 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/1.181, allocations: 1.569 MB / 1.196 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/1.181, allocations: 7.938 kB / 1.196 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.183, allocations: 0.7439 MB / 1.197 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.183, allocations: 152.4 kB / 1.197 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/1.183, allocations: 12 kB / 1.197 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/1.183, allocations: 35.89 kB / 1.197 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/1.184, allocations: 31.91 kB / 1.197 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/1.184, allocations: 20 kB / 1.197 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004326/1.184, allocations: 342.8 kB / 1.198 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.184, allocations: 0 / 1.198 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00211/1.186, allocations: 0.5662 MB / 1.198 GB, free: 6.105 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (29): * Single equations (assignments): 28 * 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.004056/1.19, allocations: 1.722 MB / 1.2 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.192, allocations: 0.6698 MB / 1.201 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.192, allocations: 4 kB / 1.201 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/1.192, allocations: 285.5 kB / 1.201 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.194, allocations: 267.8 kB / 1.201 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/1.2, allocations: 3.487 MB / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.2, allocations: 0.8628 MB / 1.205 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005799/1.201, allocations: 115.4 kB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.201, allocations: 193.6 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.202e-06/1.201, allocations: 0 / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/1.258, allocations: 27.3 MB / 1.232 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.258, allocations: 306 kB / 1.233 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/4.012, allocations: 0 / 1.233 GB, free: 3.051 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat does not exist to compare? outputFormat=mat