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.006154/0.006154, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001257/0.001257, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.602/2.602, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2922, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.7702/1.062, allocations: 162.7 MB / 1.325 GB, free: 7.141 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01251/1.075, allocations: 8.872 MB / 1.334 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008824/1.076, allocations: 14.47 kB / 1.334 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/1.077, allocations: 358.9 kB / 1.334 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003516/1.081, allocations: 1.131 MB / 1.335 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/1.087, allocations: 2.142 MB / 1.337 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001919/1.089, allocations: 1.372 MB / 1.339 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000776/1.09, allocations: 436.7 kB / 1.339 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/1.095, allocations: 2.146 MB / 1.341 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/1.099, allocations: 1.301 MB / 1.342 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.099, allocations: 51.34 kB / 1.342 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007492/1.106, allocations: 2.89 MB / 1.345 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/1.107, allocations: 153 kB / 1.345 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008629/1.107, allocations: 346.3 kB / 1.346 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/1.114, allocations: 2.232 MB / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.114, allocations: 0 / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/1.114, allocations: 1 kB / 1.348 GB, free: 11.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.149e-05/1.114, allocations: 4 kB / 1.348 GB, free: 11.24 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.003506/1.117, allocations: 0.9974 MB / 1.349 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.117, allocations: 9.438 kB / 1.349 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/1.118, allocations: 101.5 kB / 1.349 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.119, allocations: 149 kB / 1.349 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/1.12, allocations: 431.1 kB / 1.35 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/1.12, allocations: 42.27 kB / 1.35 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.12, allocations: 49.62 kB / 1.35 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/1.122, allocations: 0.6615 MB / 1.35 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.122, allocations: 1.406 kB / 1.35 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/1.122, allocations: 23.44 kB / 1.35 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/1.122, allocations: 17.62 kB / 1.35 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.123, allocations: 498 kB / 1.351 GB, free: 9.164 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.004021/1.127, allocations: 2.983 MB / 1.354 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006476/1.128, allocations: 270 kB / 1.354 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/1.128, allocations: 166.8 kB / 1.354 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/1.145, allocations: 5.808 MB / 1.36 GB, free: 3.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.145, allocations: 45.02 kB / 1.36 GB, free: 3.051 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.415e-06/1.145, allocations: 0 / 1.36 GB, free: 3.051 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.07925/1.224, allocations: 31.9 MB / 1.391 GB, free: 14.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.225, allocations: 140.9 kB / 1.391 GB, free: 13.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/1.225, allocations: 377.5 kB / 1.391 GB, free: 13.6 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/1.225, allocations: 37.69 kB / 1.392 GB, free: 13.56 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/1.225, allocations: 288.2 kB / 1.392 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.225, allocations: 185.3 kB / 1.392 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.226, allocations: 106.2 kB / 1.392 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.226, allocations: 350.8 kB / 1.392 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/1.226, allocations: 241 kB / 1.393 GB, free: 12.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/1.227, allocations: 372.5 kB / 1.393 GB, free: 11.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.228, allocations: 0.5942 MB / 1.394 GB, free: 11.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.228, allocations: 0 / 1.394 GB, free: 11.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001817/1.23, allocations: 0.7974 MB / 1.394 GB, free: 10.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.23, allocations: 7.938 kB / 1.394 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.23, allocations: 4.375 kB / 1.394 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/1.23, allocations: 121.6 kB / 1.394 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/1.231, allocations: 131.7 kB / 1.395 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.234, allocations: 3.435 MB / 1.398 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/1.235, allocations: 47.89 kB / 1.398 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/1.235, allocations: 20 kB / 1.398 GB, free: 6.48 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.0002758/1.235, allocations: 197.7 kB / 1.398 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/1.235, allocations: 51.44 kB / 1.398 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.237, allocations: 0.786 MB / 1.399 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.237, allocations: 8 kB / 1.399 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.237, allocations: 0 / 1.399 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.237, allocations: 0 / 1.399 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/1.24, allocations: 1.606 MB / 1.401 GB, free: 3.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.24, allocations: 4.047 kB / 1.401 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/1.241, allocations: 107.9 kB / 1.401 GB, free: 3.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/1.241, allocations: 64.81 kB / 1.401 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/1.241, allocations: 23.92 kB / 1.401 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/1.242, allocations: 1.771 MB / 1.403 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.243, allocations: 4 kB / 1.403 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/1.245, allocations: 1.016 MB / 1.404 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/1.245, allocations: 132.3 kB / 1.404 GB, free: 384 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/1.245, allocations: 19.94 kB / 1.404 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/1.245, allocations: 35.97 kB / 1.404 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/1.245, allocations: 39.89 kB / 1.404 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/1.245, allocations: 35.92 kB / 1.404 GB, free: 252 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004291/1.246, allocations: 350.9 kB / 1.404 GB, free: 15.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.246, allocations: 0 / 1.404 GB, free: 15.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005154/1.251, allocations: 1.39 MB / 1.405 GB, free: 14.51 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.00976/1.261, allocations: 2.225 MB / 1.408 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.263, allocations: 0.8157 MB / 1.408 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.263, allocations: 0 / 1.408 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007091/1.264, allocations: 391 kB / 1.409 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.265, allocations: 332.2 kB / 1.409 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.276, allocations: 5.776 MB / 1.415 GB, free: 4.656 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.277, allocations: 0.8751 MB / 1.416 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005915/1.277, allocations: 149.5 kB / 1.416 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/1.278, allocations: 212.8 kB / 1.416 GB, free: 3.41 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/1.278, allocations: 4 kB / 1.416 GB, free: 3.406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/1.407, allocations: 70.07 MB / 1.484 GB, free: 14.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.76, allocations: 7.625 kB / 1.484 GB, free: 14.24 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=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