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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006587/0.006587, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001729/0.001729, allocations: 196.6 kB / 16.68 MB, free: 6.363 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 59.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.266, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.6724/0.9384, allocations: 162.7 MB / 1.325 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.9502, allocations: 8.871 MB / 1.334 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/0.9507, allocations: 23.25 kB / 1.334 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008798/0.9515, allocations: 331 kB / 1.334 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.954, allocations: 1.106 MB / 1.335 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.9588, allocations: 2.131 MB / 1.337 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.9603, allocations: 1.376 MB / 1.339 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.9608, allocations: 432.4 kB / 1.339 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.9655, allocations: 2.083 MB / 1.341 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.9682, allocations: 1.297 MB / 1.342 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/0.9683, allocations: 56.12 kB / 1.342 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.9735, allocations: 2.9 MB / 1.345 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.9737, allocations: 147.8 kB / 1.345 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.9741, allocations: 353.2 kB / 1.346 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.9769, allocations: 2.232 MB / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9769, allocations: 0 / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9769, allocations: 0 / 1.348 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.9769, allocations: 0 / 1.348 GB, free: 11.23 MB / 1.029 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.001831/0.9787, allocations: 1.032 MB / 1.349 GB, free: 10.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.9788, allocations: 8.844 kB / 1.349 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.9789, allocations: 93.61 kB / 1.349 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.98, allocations: 153.3 kB / 1.349 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.9807, allocations: 434.8 kB / 1.35 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.9807, allocations: 42.22 kB / 1.35 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/0.9808, allocations: 53.88 kB / 1.35 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.982, allocations: 0.6536 MB / 1.35 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.9821, allocations: 4.969 kB / 1.35 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.9821, allocations: 27.41 kB / 1.35 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.9822, allocations: 17.38 kB / 1.35 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.9833, allocations: 491.4 kB / 1.351 GB, free: 9.121 MB / 1.029 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.003511/0.9868, allocations: 2.991 MB / 1.354 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.9874, allocations: 275.5 kB / 1.354 GB, free: 6.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.9878, allocations: 171.2 kB / 1.354 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/1.006, allocations: 5.815 MB / 1.36 GB, free: 3.039 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.006, allocations: 38.19 kB / 1.36 GB, free: 2.996 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.724e-06/1.006, allocations: 0 / 1.36 GB, free: 2.996 MB / 1.029 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.09193/1.098, allocations: 31.9 MB / 1.391 GB, free: 14.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/1.098, allocations: 133 kB / 1.391 GB, free: 13.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/1.098, allocations: 377.5 kB / 1.391 GB, free: 13.59 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/1.099, allocations: 37.7 kB / 1.391 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/1.099, allocations: 300.8 kB / 1.392 GB, free: 13.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.099, allocations: 186.4 kB / 1.392 GB, free: 13.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.099, allocations: 114.2 kB / 1.392 GB, free: 12.94 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.099, allocations: 354.8 kB / 1.392 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/1.1, allocations: 237 kB / 1.393 GB, free: 12.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/1.101, allocations: 376.5 kB / 1.393 GB, free: 11.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/1.102, allocations: 0.5942 MB / 1.394 GB, free: 11.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.102, allocations: 8.812 kB / 1.394 GB, free: 11.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002056/1.104, allocations: 0.7861 MB / 1.394 GB, free: 10.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.104, allocations: 11.94 kB / 1.394 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.104, allocations: 4 kB / 1.394 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004994/1.105, allocations: 125.9 kB / 1.394 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.105, allocations: 131.7 kB / 1.395 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/1.109, allocations: 3.433 MB / 1.398 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/1.109, allocations: 35.91 kB / 1.398 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/1.109, allocations: 24 kB / 1.398 GB, free: 6.449 MB / 1.061 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.0002731/1.11, allocations: 201.6 kB / 1.398 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/1.11, allocations: 55.66 kB / 1.398 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/1.112, allocations: 0.7821 MB / 1.399 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.112, allocations: 8 kB / 1.399 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/1.112, allocations: 0 / 1.399 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.112, allocations: 4 kB / 1.399 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/1.115, allocations: 1.615 MB / 1.401 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.115, allocations: 4 kB / 1.401 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005106/1.116, allocations: 103.8 kB / 1.401 GB, free: 3.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002421/1.116, allocations: 72.8 kB / 1.401 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/1.116, allocations: 15.98 kB / 1.401 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/1.118, allocations: 1.771 MB / 1.403 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.118, allocations: 11.92 kB / 1.403 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/1.12, allocations: 1.024 MB / 1.404 GB, free: 476 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.12, allocations: 132.7 kB / 1.404 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.12, allocations: 19.94 kB / 1.404 GB, free: 304 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/1.121, allocations: 27.97 kB / 1.404 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.121, allocations: 47.95 kB / 1.404 GB, free: 228 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/1.121, allocations: 27.92 kB / 1.404 GB, free: 200 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004863/1.121, allocations: 350.9 kB / 1.404 GB, free: 15.85 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.364e-06/1.121, allocations: 0 / 1.404 GB, free: 15.85 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004111/1.126, allocations: 1.401 MB / 1.405 GB, free: 14.45 MB / 1.076 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.00867/1.134, allocations: 2.22 MB / 1.408 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.136, allocations: 0.823 MB / 1.408 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.136, allocations: 0 / 1.408 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/1.137, allocations: 387.2 kB / 1.409 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.139, allocations: 331.8 kB / 1.409 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.149, allocations: 5.807 MB / 1.415 GB, free: 4.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/1.149, allocations: 0.8828 MB / 1.416 GB, free: 3.648 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000513/1.15, allocations: 136.6 kB / 1.416 GB, free: 3.523 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/1.15, allocations: 219.3 kB / 1.416 GB, free: 3.309 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/1.15, allocations: 0 / 1.416 GB, free: 3.309 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.863/3.013, allocations: 70.07 MB / 1.484 GB, free: 14.16 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.64/23.65, allocations: 8.375 kB / 1.484 GB, free: 14.15 MB / 1.154 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=400 --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