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.007319/0.00732, allocations: 101 kB / 15.73 MB, free: 6.043 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.001726/0.001726, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.596/2.596, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3448, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.9583/1.303, allocations: 162.7 MB / 1.366 GB, free: 4.664 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01323/1.316, allocations: 8.848 MB / 1.375 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.318, allocations: 18.62 kB / 1.375 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/1.319, allocations: 368.1 kB / 1.375 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/1.323, allocations: 1.125 MB / 1.376 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00765/1.331, allocations: 2.142 MB / 1.378 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002398/1.333, allocations: 1.379 MB / 1.38 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/1.334, allocations: 435.1 kB / 1.38 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/1.34, allocations: 2.146 MB / 1.382 GB, free: 9.582 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/1.343, allocations: 1.297 MB / 1.383 GB, free: 8.719 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/1.344, allocations: 52.06 kB / 1.383 GB, free: 8.719 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006503/1.35, allocations: 2.901 MB / 1.386 GB, free: 7.227 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/1.351, allocations: 147.1 kB / 1.386 GB, free: 7.113 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007927/1.351, allocations: 347.9 kB / 1.387 GB, free: 6.906 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005731/1.357, allocations: 2.206 MB / 1.389 GB, free: 5.461 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.357, allocations: 0 / 1.389 GB, free: 5.461 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.857e-06/1.357, allocations: 4.891 kB / 1.389 GB, free: 5.457 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.357, allocations: 0 / 1.389 GB, free: 5.457 MB / 1.076 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.003139/1.36, allocations: 1.006 MB / 1.39 GB, free: 4.676 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.36, allocations: 10.12 kB / 1.39 GB, free: 4.676 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/1.36, allocations: 98.12 kB / 1.39 GB, free: 4.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/1.362, allocations: 140 kB / 1.39 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/1.363, allocations: 438.7 kB / 1.391 GB, free: 4.133 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/1.363, allocations: 37.94 kB / 1.391 GB, free: 4.113 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/1.363, allocations: 54.38 kB / 1.391 GB, free: 4.094 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.364, allocations: 0.6579 MB / 1.391 GB, free: 3.641 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/1.364, allocations: 5.031 kB / 1.391 GB, free: 3.637 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/1.364, allocations: 23.66 kB / 1.391 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.364, allocations: 21.55 kB / 1.391 GB, free: 3.613 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.365, allocations: 490.6 kB / 1.392 GB, free: 3.379 MB / 1.076 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.003861/1.369, allocations: 2.99 MB / 1.395 GB, free: 0.582 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/1.37, allocations: 267.9 kB / 1.395 GB, free: 460 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/1.37, allocations: 167.7 kB / 1.395 GB, free: 372 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/1.387, allocations: 5.811 MB / 1.401 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/1.387, allocations: 42.8 kB / 1.401 GB, free: 13.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/1.387, allocations: 0 / 1.401 GB, free: 13.27 MB / 1.092 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.08006/1.467, allocations: 31.86 MB / 1.432 GB, free: 376 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.467, allocations: 137 kB / 1.432 GB, free: 208 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/1.467, allocations: 377.5 kB / 1.432 GB, free: 15.82 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/1.468, allocations: 33.7 kB / 1.433 GB, free: 15.79 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/1.468, allocations: 292.2 kB / 1.433 GB, free: 15.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.468, allocations: 189.3 kB / 1.433 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/1.468, allocations: 102.2 kB / 1.433 GB, free: 15.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.468, allocations: 358.8 kB / 1.433 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/1.469, allocations: 233 kB / 1.434 GB, free: 14.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/1.469, allocations: 378.2 kB / 1.434 GB, free: 14.2 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.47, allocations: 0.5981 MB / 1.435 GB, free: 13.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.47, allocations: 0 / 1.435 GB, free: 13.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001843/1.472, allocations: 0.7935 MB / 1.435 GB, free: 12.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.472, allocations: 15.88 kB / 1.435 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.472, allocations: 0 / 1.435 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/1.473, allocations: 127.5 kB / 1.435 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/1.473, allocations: 127.8 kB / 1.436 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/1.477, allocations: 3.423 MB / 1.439 GB, free: 8.785 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/1.477, allocations: 40.03 kB / 1.439 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/1.477, allocations: 31.98 kB / 1.439 GB, free: 8.715 MB / 1.123 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.0003166/1.478, allocations: 189.6 kB / 1.439 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/1.478, allocations: 51.44 kB / 1.439 GB, free: 8.469 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/1.48, allocations: 0.781 MB / 1.44 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.48, allocations: 4 kB / 1.44 GB, free: 7.664 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.48, allocations: 4 kB / 1.44 GB, free: 7.66 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.48, allocations: 3.984 kB / 1.44 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/1.483, allocations: 1.616 MB / 1.442 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.483, allocations: 8.031 kB / 1.442 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/1.483, allocations: 103.8 kB / 1.442 GB, free: 5.832 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/1.483, allocations: 72.83 kB / 1.442 GB, free: 5.758 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.483, allocations: 12 kB / 1.442 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/1.485, allocations: 1.776 MB / 1.444 GB, free: 3.832 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.485, allocations: 7.969 kB / 1.444 GB, free: 3.824 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.487, allocations: 1.02 MB / 1.445 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/1.487, allocations: 140.3 kB / 1.445 GB, free: 2.594 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/1.487, allocations: 11.94 kB / 1.445 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/1.488, allocations: 27.98 kB / 1.445 GB, free: 2.555 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/1.488, allocations: 47.95 kB / 1.445 GB, free: 2.508 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/1.488, allocations: 27.92 kB / 1.445 GB, free: 2.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004186/1.488, allocations: 350.8 kB / 1.445 GB, free: 2.137 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.488, allocations: 0 / 1.445 GB, free: 2.137 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004748/1.493, allocations: 1.39 MB / 1.446 GB, free: 0.7461 MB / 1.123 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.01055/1.504, allocations: 2.219 MB / 1.449 GB, free: 14.46 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001954/1.506, allocations: 0.8191 MB / 1.449 GB, free: 13.62 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.506, allocations: 4.125 kB / 1.449 GB, free: 13.61 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007271/1.506, allocations: 382.3 kB / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.508, allocations: 339.8 kB / 1.45 GB, free: 12.9 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.519, allocations: 5.773 MB / 1.456 GB, free: 6.875 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/1.52, allocations: 0.879 MB / 1.457 GB, free: 5.969 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006352/1.52, allocations: 134.2 kB / 1.457 GB, free: 5.844 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.521, allocations: 219.4 kB / 1.457 GB, free: 5.629 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/1.521, allocations: 3.938 kB / 1.457 GB, free: 5.625 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.65, allocations: 69.87 MB / 1.525 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.99, allocations: 14.67 kB / 1.525 GB, free: 0.5625 MB / 1.201 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