Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_Buildings_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.001534/0.001534, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.22 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1531/0.406, allocations: 162.7 MB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.4172, allocations: 8.868 MB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.4181, allocations: 15.94 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.4195, allocations: 341.8 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.4227, allocations: 1.1 MB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.4277, allocations: 2.125 MB / 1.224 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.4295, allocations: 1.376 MB / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008174/0.4303, allocations: 445.4 kB / 1.226 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004666/0.435, allocations: 2.073 MB / 1.228 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.438, allocations: 1.307 MB / 1.229 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.4382, allocations: 52 kB / 1.229 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005009/0.4432, allocations: 2.821 MB / 1.232 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.4434, allocations: 151.5 kB / 1.232 GB, free: 240 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.4439, allocations: 354.4 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.447, allocations: 2.198 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.447, allocations: 0 / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.447, allocations: 4 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.447, allocations: 0 / 1.234 GB, free: 13.68 MB / 0.9981 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.001853/0.4489, allocations: 1.002 MB / 1.235 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.449, allocations: 8.625 kB / 1.235 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.4491, allocations: 98.7 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4502, allocations: 151.1 kB / 1.236 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.4507, allocations: 421.5 kB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.4508, allocations: 37.31 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-05/0.4509, allocations: 56 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.452, allocations: 0.6665 MB / 1.237 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.4521, allocations: 3.938 kB / 1.237 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.4521, allocations: 31.92 kB / 1.237 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4521, allocations: 16 kB / 1.237 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4532, allocations: 487.6 kB / 1.237 GB, free: 10.59 MB / 0.9981 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.003186/0.4564, allocations: 3.01 MB / 1.24 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.457, allocations: 267 kB / 1.24 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.4573, allocations: 165.4 kB / 1.241 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.475, allocations: 5.746 MB / 1.246 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4751, allocations: 42.41 kB / 1.246 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 1.833e-06/0.4751, allocations: 4 kB / 1.246 GB, free: 0.8828 MB / 0.9981 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.5195/0.9946, allocations: 31.59 MB / 1.277 GB, free: 191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9947, allocations: 137 kB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.9951, allocations: 370.8 kB / 1.278 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.9951, allocations: 33.64 kB / 1.278 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.9953, allocations: 287.1 kB / 1.278 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.9954, allocations: 185.6 kB / 1.278 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.9955, allocations: 113.2 kB / 1.278 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.9956, allocations: 364.2 kB / 1.279 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.9961, allocations: 237.1 kB / 1.279 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.9966, allocations: 371.2 kB / 1.279 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.9976, allocations: 0.5907 MB / 1.28 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9976, allocations: 0 / 1.28 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001718/0.9993, allocations: 0.8035 MB / 1.281 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9993, allocations: 4 kB / 1.281 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9993, allocations: 4.656 kB / 1.281 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/0.9998, allocations: 124.2 kB / 1.281 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/1, allocations: 127.7 kB / 1.281 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/1.003, allocations: 3.435 MB / 1.284 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/1.003, allocations: 35.53 kB / 1.284 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/1.003, allocations: 27.55 kB / 1.284 GB, free: 184.5 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.0002167/1.004, allocations: 198.9 kB / 1.284 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.004, allocations: 55.52 kB / 1.284 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/1.005, allocations: 0.7919 MB / 1.285 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.005, allocations: 4 kB / 1.285 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.005, allocations: 4 kB / 1.285 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.005, allocations: 7.922 kB / 1.285 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/1.008, allocations: 1.596 MB / 1.287 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.008, allocations: 5.25 kB / 1.287 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/1.009, allocations: 99.69 kB / 1.287 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/1.009, allocations: 79.39 kB / 1.287 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/1.009, allocations: 11.31 kB / 1.287 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/1.01, allocations: 1.781 MB / 1.289 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.01, allocations: 4 kB / 1.289 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/1.012, allocations: 1.021 MB / 1.29 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.012, allocations: 128.4 kB / 1.29 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.012, allocations: 19.42 kB / 1.29 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/1.013, allocations: 23.86 kB / 1.29 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/1.013, allocations: 39.77 kB / 1.29 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/1.013, allocations: 28.48 kB / 1.29 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003477/1.013, allocations: 362.8 kB / 1.29 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.013, allocations: 3.719 kB / 1.29 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004121/1.017, allocations: 1.388 MB / 1.292 GB, free: 177.9 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.01032/1.027, allocations: 2.211 MB / 1.294 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.029, allocations: 0.827 MB / 1.295 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.029, allocations: 4 kB / 1.295 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.03, allocations: 387 kB / 1.295 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.032, allocations: 347.6 kB / 1.295 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.042, allocations: 5.97 MB / 1.301 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/1.042, allocations: 0.8782 MB / 1.302 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005991/1.043, allocations: 144.6 kB / 1.302 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.043, allocations: 212.5 kB / 1.302 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.52e-07/1.043, allocations: 0 / 1.302 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7483/1.791, allocations: 69.65 MB / 1.37 GB, free: 99.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.9, allocations: 3.391 kB / 1.37 GB, free: 99.66 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat