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.0008745/0.0008743, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005147/0.005148, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.382/2.382, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7287, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1705/0.8993, allocations: 158.5 MB / 1.178 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.9123, allocations: 9.645 MB / 1.187 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007253/0.9131, allocations: 19.88 kB / 1.187 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.9141, allocations: 290.4 kB / 1.188 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.9167, allocations: 0.9451 MB / 1.189 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.9213, allocations: 1.753 MB / 1.19 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.9232, allocations: 1.805 MB / 1.192 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006507/0.9239, allocations: 372.5 kB / 1.192 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.9286, allocations: 1.906 MB / 1.194 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.931, allocations: 1.303 MB / 1.196 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.9312, allocations: 24 kB / 1.196 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.9359, allocations: 2.801 MB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.9362, allocations: 131.5 kB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.9366, allocations: 348.1 kB / 1.199 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.9397, allocations: 2.186 MB / 1.201 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9397, allocations: 0 / 1.201 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9397, allocations: 0 / 1.201 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.9397, allocations: 0 / 1.201 GB, free: 9.207 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.001863/0.9416, allocations: 0.8813 MB / 1.202 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9417, allocations: 11.97 kB / 1.202 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.9418, allocations: 94.7 kB / 1.202 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.9428, allocations: 147.1 kB / 1.202 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.9434, allocations: 429.5 kB / 1.202 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.9434, allocations: 37.31 kB / 1.202 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.9435, allocations: 52 kB / 1.202 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.9447, allocations: 0.6721 MB / 1.203 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.9447, allocations: 0 / 1.203 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.9448, allocations: 27.94 kB / 1.203 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.9448, allocations: 12 kB / 1.203 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.9458, allocations: 0.4956 MB / 1.204 GB, free: 6.215 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.003156/0.949, allocations: 2.994 MB / 1.207 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.9496, allocations: 270.4 kB / 1.207 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.9499, allocations: 180.7 kB / 1.207 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01697/0.9669, allocations: 5.812 MB / 1.213 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.967, allocations: 42.56 kB / 1.213 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.354e-06/0.967, allocations: 0 / 1.213 GB, free: 12.45 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.5844/1.551, allocations: 30.42 MB / 1.242 GB, free: 205.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.551, allocations: 136.2 kB / 1.243 GB, free: 205.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/1.552, allocations: 376.2 kB / 1.243 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/1.552, allocations: 34.78 kB / 1.243 GB, free: 205.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/1.552, allocations: 292.8 kB / 1.243 GB, free: 204.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/1.552, allocations: 178 kB / 1.243 GB, free: 204.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/1.552, allocations: 56.28 kB / 1.243 GB, free: 204.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/1.552, allocations: 358.3 kB / 1.244 GB, free: 204.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/1.553, allocations: 240.1 kB / 1.244 GB, free: 204.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/1.554, allocations: 376.2 kB / 1.244 GB, free: 204.1 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.555, allocations: 0.6087 MB / 1.245 GB, free: 203.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.555, allocations: 1.062 kB / 1.245 GB, free: 203.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001883/1.557, allocations: 0.8032 MB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.557, allocations: 6.312 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.557, allocations: 3.922 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/1.557, allocations: 122.6 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/1.558, allocations: 129.7 kB / 1.246 GB, free: 203.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.56, allocations: 3.102 MB / 1.249 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/1.561, allocations: 57.14 kB / 1.249 GB, free: 200.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/1.561, allocations: 24.84 kB / 1.249 GB, free: 200.4 MB / 0.9825 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.0002235/1.561, allocations: 193.5 kB / 1.249 GB, free: 200.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.561, allocations: 49.8 kB / 1.249 GB, free: 200.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.563, allocations: 0.7987 MB / 1.25 GB, free: 199.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.563, allocations: 5.953 kB / 1.25 GB, free: 199.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/1.563, allocations: 2.531 kB / 1.25 GB, free: 199.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.563, allocations: 6.375 kB / 1.25 GB, free: 199.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/1.566, allocations: 1.612 MB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.566, allocations: 11.91 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/1.566, allocations: 104.2 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/1.567, allocations: 77.94 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/1.567, allocations: 21.67 kB / 1.252 GB, free: 199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/1.568, allocations: 1.594 MB / 1.254 GB, free: 197.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.568, allocations: 7.344 kB / 1.254 GB, free: 197.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/1.57, allocations: 1.033 MB / 1.255 GB, free: 196.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.57, allocations: 142.6 kB / 1.255 GB, free: 196.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.57, allocations: 20.81 kB / 1.255 GB, free: 196.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/1.571, allocations: 49.78 kB / 1.255 GB, free: 196.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/1.571, allocations: 44.47 kB / 1.255 GB, free: 196.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/1.571, allocations: 23.42 kB / 1.255 GB, free: 196.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004248/1.571, allocations: 355.3 kB / 1.255 GB, free: 196.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.571, allocations: 1.344 kB / 1.255 GB, free: 196.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004479/1.576, allocations: 1.39 MB / 1.256 GB, free: 196.6 MB / 0.9825 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.007813/1.584, allocations: 2.25 MB / 1.259 GB, free: 195.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.585, allocations: 0.824 MB / 1.259 GB, free: 195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.585, allocations: 5.125 kB / 1.259 GB, free: 195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006534/1.586, allocations: 392.2 kB / 1.26 GB, free: 194.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.588, allocations: 328.6 kB / 1.26 GB, free: 194.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009284/1.597, allocations: 6.235 MB / 1.266 GB, free: 191.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/1.597, allocations: 0.8812 MB / 1.267 GB, free: 190.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000662/1.598, allocations: 142.2 kB / 1.267 GB, free: 190.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/1.598, allocations: 213.7 kB / 1.267 GB, free: 190.2 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/1.598, allocations: 0.9062 kB / 1.267 GB, free: 190.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08519/1.683, allocations: 68.81 MB / 1.335 GB, free: 138.6 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.684, allocations: 322.9 kB / 1.335 GB, free: 138.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.493/5.177, allocations: 4 kB / 1.335 GB, free: 138.2 MB / 0.9825 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