Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_11_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.003944/0.003944, allocations: 97.75 kB / 15.73 MB, free: 6.004 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.001131/0.001132, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.538/2.538, allocations: 469.8 MB / 0.7425 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 63.89 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6098/0.8581, allocations: 162.7 MB / 1.379 GB, free: 6.277 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.8683, allocations: 8.859 MB / 1.388 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.8686, allocations: 14.97 kB / 1.388 GB, free: 15.44 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.8695, allocations: 346.5 kB / 1.388 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.8715, allocations: 1.095 MB / 1.389 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.8755, allocations: 2.136 MB / 1.391 GB, free: 12.79 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.8768, allocations: 1.385 MB / 1.393 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.8773, allocations: 429.7 kB / 1.393 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004061/0.8814, allocations: 2.095 MB / 1.395 GB, free: 10.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.8838, allocations: 1.297 MB / 1.396 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.8839, allocations: 51.47 kB / 1.396 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.8884, allocations: 2.892 MB / 1.399 GB, free: 7.965 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.8885, allocations: 155.4 kB / 1.399 GB, free: 7.844 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.8888, allocations: 347.4 kB / 1.4 GB, free: 7.637 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002343/0.8912, allocations: 2.213 MB / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8912, allocations: 1.375 kB / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8912, allocations: 0 / 1.402 GB, free: 6.184 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8912, allocations: 0 / 1.402 GB, free: 6.184 MB / 1.092 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.001568/0.8928, allocations: 1.033 MB / 1.403 GB, free: 5.375 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.8928, allocations: 9.625 kB / 1.403 GB, free: 5.375 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.972e-05/0.8929, allocations: 94.14 kB / 1.403 GB, free: 5.293 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.8939, allocations: 149 kB / 1.403 GB, free: 5.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.8945, allocations: 430.7 kB / 1.403 GB, free: 4.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.8946, allocations: 42.59 kB / 1.403 GB, free: 4.816 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.8947, allocations: 50.5 kB / 1.403 GB, free: 4.801 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.8957, allocations: 0.669 MB / 1.404 GB, free: 4.336 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.8957, allocations: 1.219 kB / 1.404 GB, free: 4.336 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.8958, allocations: 27.34 kB / 1.404 GB, free: 4.316 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.8958, allocations: 16.41 kB / 1.404 GB, free: 4.312 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.8968, allocations: 495.8 kB / 1.405 GB, free: 4.074 MB / 1.092 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.003098/0.8999, allocations: 2.984 MB / 1.408 GB, free: 1.285 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.9005, allocations: 264.8 kB / 1.408 GB, free: 1.152 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.9008, allocations: 165.6 kB / 1.408 GB, free: 1.066 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/0.9164, allocations: 5.815 MB / 1.414 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.9165, allocations: 41.14 kB / 1.414 GB, free: 13.97 MB / 1.107 GB Notification: Performance of pre-optimization done (n=36): time 1.463e-06/0.9165, allocations: 2.531 kB / 1.414 GB, free: 13.97 MB / 1.107 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.08414/1.001, allocations: 31.88 MB / 1.445 GB, free: 14.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/1.001, allocations: 140.9 kB / 1.445 GB, free: 14.55 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/1.001, allocations: 369.6 kB / 1.445 GB, free: 14.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/1.001, allocations: 37.7 kB / 1.445 GB, free: 14.14 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.001, allocations: 292.8 kB / 1.446 GB, free: 13.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.002, allocations: 190.4 kB / 1.446 GB, free: 13.66 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/1.002, allocations: 118.2 kB / 1.446 GB, free: 13.54 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.002, allocations: 354.8 kB / 1.446 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/1.002, allocations: 237 kB / 1.447 GB, free: 12.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/1.003, allocations: 368.4 kB / 1.447 GB, free: 12.54 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.004, allocations: 0.5981 MB / 1.447 GB, free: 11.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/1.004, allocations: 4 kB / 1.447 GB, free: 11.89 MB / 1.139 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001839/1.006, allocations: 0.7977 MB / 1.448 GB, free: 11.08 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.006, allocations: 7.938 kB / 1.448 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.006, allocations: 4 kB / 1.448 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/1.007, allocations: 117.9 kB / 1.448 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005263/1.007, allocations: 135.8 kB / 1.448 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/1.01, allocations: 3.429 MB / 1.452 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/1.011, allocations: 48.09 kB / 1.452 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/1.011, allocations: 27.92 kB / 1.452 GB, free: 7.043 MB / 1.139 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.000231/1.011, allocations: 191.4 kB / 1.452 GB, free: 6.848 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.011, allocations: 55.67 kB / 1.452 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/1.013, allocations: 0.7819 MB / 1.453 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-06/1.013, allocations: 4 kB / 1.453 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.013, allocations: 0 / 1.453 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.013, allocations: 3.984 kB / 1.453 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/1.016, allocations: 1.616 MB / 1.454 GB, free: 4.273 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.016, allocations: 0 / 1.454 GB, free: 4.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/1.016, allocations: 108.3 kB / 1.455 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/1.017, allocations: 64.81 kB / 1.455 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/1.017, allocations: 19.98 kB / 1.455 GB, free: 4.082 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/1.018, allocations: 1.773 MB / 1.456 GB, free: 2.172 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.018, allocations: 4 kB / 1.456 GB, free: 2.168 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.02, allocations: 1.035 MB / 1.457 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/1.02, allocations: 132.8 kB / 1.458 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.819e-05/1.021, allocations: 15.94 kB / 1.458 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/1.021, allocations: 27.97 kB / 1.458 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/1.021, allocations: 44.02 kB / 1.458 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.473e-05/1.021, allocations: 27.92 kB / 1.458 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004147/1.022, allocations: 358.8 kB / 1.458 GB, free: 468 kB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.022, allocations: 0 / 1.458 GB, free: 468 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.003253/1.025, allocations: 1.394 MB / 1.459 GB, free: 15.06 MB / 1.154 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.007754/1.033, allocations: 2.225 MB / 1.462 GB, free: 12.78 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.034, allocations: 0.8189 MB / 1.462 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.034, allocations: 0 / 1.462 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/1.035, allocations: 386.4 kB / 1.463 GB, free: 11.54 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.036, allocations: 347.1 kB / 1.463 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009236/1.046, allocations: 5.798 MB / 1.469 GB, free: 5.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/1.046, allocations: 0.8712 MB / 1.47 GB, free: 4.262 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004437/1.047, allocations: 143.7 kB / 1.47 GB, free: 4.129 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/1.047, allocations: 215.3 kB / 1.47 GB, free: 3.922 MB / 1.154 GB Notification: Performance of SimCode: time 2.51e-07/1.047, allocations: 4 kB / 1.47 GB, free: 3.918 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.55/17.59, allocations: 69.86 MB / 1.538 GB, free: 14.86 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/34.08, allocations: 14.23 kB / 1.538 GB, free: 14.84 MB / 1.232 GB (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat