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.00119/0.00119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001365/0.001365, allocations: 187.9 kB / 16.25 MB, free: 6.621 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.814/1.814, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.239/3.239, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.73 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2681, allocations: 157.4 MB / 1.052 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.251/0.5192, allocations: 160.6 MB / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.5433, allocations: 9.006 MB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.5446, allocations: 11.94 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.5467, allocations: 298.4 kB / 1.218 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.5515, allocations: 1.003 MB / 1.219 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008234/0.5598, allocations: 1.905 MB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.5625, allocations: 1.38 MB / 1.223 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.5636, allocations: 429.4 kB / 1.223 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008813/0.5724, allocations: 2.004 MB / 1.225 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.5772, allocations: 1.323 MB / 1.226 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.5776, allocations: 55.98 kB / 1.226 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.5881, allocations: 2.825 MB / 1.229 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.5887, allocations: 159.5 kB / 1.229 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.5899, allocations: 350.4 kB / 1.229 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006732/0.5967, allocations: 2.198 MB / 1.232 GB, free: 456 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.5967, allocations: 0 / 1.232 GB, free: 456 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5968, allocations: 0 / 1.232 GB, free: 456 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.919e-05/0.5968, allocations: 0 / 1.232 GB, free: 456 kB / 0.9825 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.004023/0.6008, allocations: 1.01 MB / 1.233 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.643e-05/0.6009, allocations: 8.625 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000223/0.6012, allocations: 98.7 kB / 1.233 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.6035, allocations: 151.1 kB / 1.233 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.6047, allocations: 421.5 kB / 1.233 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.6048, allocations: 37.31 kB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.605, allocations: 52 kB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.6073, allocations: 0.6643 MB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.6074, allocations: 3.938 kB / 1.234 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.6075, allocations: 31.94 kB / 1.234 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6076, allocations: 16 kB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.6097, allocations: 491.5 kB / 1.234 GB, free: 13.34 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.006715/0.6165, allocations: 2.99 MB / 1.237 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.6177, allocations: 263 kB / 1.238 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/0.6184, allocations: 169.4 kB / 1.238 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03569/0.6541, allocations: 5.746 MB / 1.243 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/0.6542, allocations: 50.42 kB / 1.243 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 5.46e-06/0.6543, allocations: 0 / 1.243 GB, free: 3.656 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.8142/1.468, allocations: 31.59 MB / 1.274 GB, free: 192 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/1.469, allocations: 136.9 kB / 1.274 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/1.469, allocations: 373.7 kB / 1.275 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/1.47, allocations: 38.42 kB / 1.275 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/1.47, allocations: 291 kB / 1.275 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.47, allocations: 184.1 kB / 1.275 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/1.47, allocations: 109.6 kB / 1.275 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.47, allocations: 359.3 kB / 1.276 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.472, allocations: 236.5 kB / 1.276 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.473, allocations: 383.6 kB / 1.276 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/1.475, allocations: 0.5926 MB / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.475, allocations: 0 / 1.277 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003767/1.479, allocations: 0.7863 MB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/1.479, allocations: 9.781 kB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.479, allocations: 3.781 kB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/1.48, allocations: 125.6 kB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.481, allocations: 129.7 kB / 1.278 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/1.485, allocations: 3.434 MB / 1.281 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.487, allocations: 58.95 kB / 1.281 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.47e-05/1.487, allocations: 23.05 kB / 1.281 GB, free: 187.2 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.0004488/1.487, allocations: 190.3 kB / 1.282 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/1.488, allocations: 56.75 kB / 1.282 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/1.491, allocations: 0.7842 MB / 1.282 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/1.491, allocations: 4 kB / 1.282 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/1.491, allocations: 0 / 1.282 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.491, allocations: 11.95 kB / 1.282 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/1.496, allocations: 1.605 MB / 1.284 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.496, allocations: 0 / 1.284 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.497, allocations: 107.6 kB / 1.284 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/1.498, allocations: 75.89 kB / 1.284 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/1.498, allocations: 17.67 kB / 1.284 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/1.5, allocations: 1.771 MB / 1.286 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.5, allocations: 4.031 kB / 1.286 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/1.504, allocations: 1.021 MB / 1.287 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/1.504, allocations: 140.3 kB / 1.287 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/1.504, allocations: 8.016 kB / 1.287 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.506, allocations: 54.7 kB / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.506, allocations: 51.19 kB / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.506, allocations: 23.92 kB / 1.287 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006364/1.507, allocations: 349.3 kB / 1.287 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.507, allocations: 0 / 1.287 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00675/1.513, allocations: 1.387 MB / 1.289 GB, free: 180.6 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.01746/1.531, allocations: 2.222 MB / 1.291 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.534, allocations: 0.8264 MB / 1.292 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.534, allocations: 4.656 kB / 1.292 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.536, allocations: 387.1 kB / 1.292 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/1.539, allocations: 339.3 kB / 1.293 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.558, allocations: 6.156 MB / 1.299 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/1.558, allocations: 0.8741 MB / 1.299 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00142/1.56, allocations: 147.8 kB / 1.3 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/1.56, allocations: 212.3 kB / 1.3 GB, free: 171 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.56, allocations: 3.938 kB / 1.3 GB, free: 171 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/1.737, allocations: 69.45 MB / 1.368 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/1.737, allocations: 315.7 kB / 1.368 GB, free: 102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.51/7.247, allocations: 0 / 1.368 GB, free: 102 MB / 0.9981 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