Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,fileNamePrefix="Buildings_latest_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_latest_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.001026/0.001026, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008479/0.00848, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 10.72 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2487, allocations: 159.6 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.159/0.4078, allocations: 158.5 MB / 1.214 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.4221, allocations: 9.655 MB / 1.223 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008888/0.423, allocations: 11.94 kB / 1.223 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.4243, allocations: 286.4 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.4279, allocations: 0.9556 MB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006856/0.4348, allocations: 1.744 MB / 1.226 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002609/0.4374, allocations: 1.805 MB / 1.228 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.4383, allocations: 364.5 kB / 1.228 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/0.4442, allocations: 1.899 MB / 1.23 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.4471, allocations: 1.303 MB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.4473, allocations: 24 kB / 1.231 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.4535, allocations: 2.805 MB / 1.234 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.4538, allocations: 131.5 kB / 1.234 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006333/0.4544, allocations: 348.1 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.4587, allocations: 2.17 MB / 1.237 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4587, allocations: 0 / 1.237 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4587, allocations: 4 kB / 1.237 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.4588, allocations: 0 / 1.237 GB, free: 14.15 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.002394/0.4612, allocations: 0.8889 MB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.4613, allocations: 12.03 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.4615, allocations: 102.7 kB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4627, allocations: 151 kB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.4635, allocations: 417.6 kB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.4636, allocations: 37.31 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.4637, allocations: 56 kB / 1.238 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.465, allocations: 0.6682 MB / 1.239 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.465, allocations: 0 / 1.239 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/0.4651, allocations: 39.81 kB / 1.239 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4651, allocations: 16 kB / 1.239 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.4663, allocations: 495.6 kB / 1.239 GB, free: 11.14 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.003895/0.4702, allocations: 2.998 MB / 1.242 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.4709, allocations: 276.2 kB / 1.243 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.4712, allocations: 173.4 kB / 1.243 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01763/0.4889, allocations: 5.812 MB / 1.248 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.4889, allocations: 42.42 kB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/0.489, allocations: 0 / 1.248 GB, free: 1.375 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.5965/1.085, allocations: 30.42 MB / 1.278 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.085, allocations: 132.3 kB / 1.278 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/1.086, allocations: 380 kB / 1.279 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/1.086, allocations: 32.33 kB / 1.279 GB, free: 22.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/1.086, allocations: 295.9 kB / 1.279 GB, free: 22.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/1.086, allocations: 183.7 kB / 1.279 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/1.086, allocations: 52.27 kB / 1.279 GB, free: 22.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/1.086, allocations: 359.2 kB / 1.279 GB, free: 21.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/1.087, allocations: 239.5 kB / 1.28 GB, free: 21.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/1.087, allocations: 378.8 kB / 1.28 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/1.088, allocations: 0.6075 MB / 1.281 GB, free: 21.53 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.088, allocations: 0 / 1.281 GB, free: 21.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001647/1.09, allocations: 0.8038 MB / 1.281 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.09, allocations: 5.844 kB / 1.281 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.09, allocations: 3.531 kB / 1.281 GB, free: 21.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/1.09, allocations: 121.9 kB / 1.282 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/1.091, allocations: 134 kB / 1.282 GB, free: 21.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.093, allocations: 3.085 MB / 1.285 GB, free: 18.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/1.094, allocations: 62.78 kB / 1.285 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/1.094, allocations: 26.45 kB / 1.285 GB, free: 18.75 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.0002392/1.094, allocations: 198 kB / 1.285 GB, free: 18.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/1.094, allocations: 52.62 kB / 1.285 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/1.096, allocations: 0.7965 MB / 1.286 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.096, allocations: 9.609 kB / 1.286 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/1.096, allocations: 0 / 1.286 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.096, allocations: 1.453 kB / 1.286 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/1.098, allocations: 1.615 MB / 1.287 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.098, allocations: 3.281 kB / 1.287 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/1.099, allocations: 113.4 kB / 1.287 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/1.099, allocations: 69.58 kB / 1.288 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/1.099, allocations: 20.89 kB / 1.288 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/1.1, allocations: 1.597 MB / 1.289 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.1, allocations: 3 kB / 1.289 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/1.102, allocations: 1.037 MB / 1.29 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.102, allocations: 141.3 kB / 1.29 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.102, allocations: 13.44 kB / 1.29 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/1.102, allocations: 56.62 kB / 1.29 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/1.103, allocations: 47.61 kB / 1.29 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/1.103, allocations: 26.78 kB / 1.29 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003303/1.103, allocations: 351.8 kB / 1.291 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.103, allocations: 0 / 1.291 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003938/1.107, allocations: 1.39 MB / 1.292 GB, free: 16.16 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.00787/1.115, allocations: 2.227 MB / 1.294 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001508/1.116, allocations: 0.822 MB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.116, allocations: 0 / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/1.117, allocations: 400.9 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/1.119, allocations: 333.5 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/1.127, allocations: 6.257 MB / 1.302 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/1.127, allocations: 0.8748 MB / 1.303 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000588/1.128, allocations: 145.9 kB / 1.303 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/1.128, allocations: 210.1 kB / 1.303 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.128, allocations: 2.906 kB / 1.303 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09126/1.22, allocations: 68.83 MB / 1.37 GB, free: 10.77 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/1.22, allocations: 330.1 kB / 1.371 GB, free: 10.38 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/4.655, allocations: 2.812 kB / 1.371 GB, free: 10.38 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.fmu > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat does not exist to compare? outputFormat=mat