Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001303, allocations: 173.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009564, allocations: 92.33 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 12.19 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3019, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.076, allocations: 1.963 GB / 3.186 GB, free: 24.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/5.076, allocations: 113.3 kB / 3.186 GB, free: 24.14 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.542/13.62, allocations: 2.194 GB / 5.38 GB, free: 41.58 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.396e-06/13.62, allocations: 0 / 5.38 GB, free: 41.58 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005509/13.62, allocations: 63.92 kB / 5.38 GB, free: 41.52 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.0126/13.63, allocations: 3.028 MB / 5.383 GB, free: 38.43 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.814e-05/13.63, allocations: 12.03 kB / 5.383 GB, free: 38.41 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/13.63, allocations: 202.9 kB / 5.383 GB, free: 38.21 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007096/13.64, allocations: 0.8793 MB / 5.384 GB, free: 37.32 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/13.65, allocations: 2.368 MB / 5.386 GB, free: 34.91 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/13.65, allocations: 106.8 kB / 5.387 GB, free: 34.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008453/13.65, allocations: 152 kB / 5.387 GB, free: 34.65 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005236/13.66, allocations: 1.666 MB / 5.388 GB, free: 32.91 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/13.66, allocations: 11.94 kB / 5.388 GB, free: 32.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/13.66, allocations: 60 kB / 5.388 GB, free: 32.84 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-05/13.66, allocations: 50.69 kB / 5.388 GB, free: 32.79 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003667/13.66, allocations: 1.381 MB / 5.39 GB, free: 31.4 MB / 1.182 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.01414/13.67, allocations: 7.902 MB / 5.398 GB, free: 22.89 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/13.68, allocations: 1.895 MB / 5.399 GB, free: 20.79 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/13.68, allocations: 0.7522 MB / 5.4 GB, free: 19.89 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/13.68, allocations: 0.5634 MB / 5.401 GB, free: 19.31 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001408/13.68, allocations: 139.2 kB / 5.401 GB, free: 19.18 MB / 1.182 GB Notification: Performance of pre-optimization done (n=90): time 8.787e-06/13.68, allocations: 0 / 5.401 GB, free: 19.18 MB / 1.182 GB Notification: Performance of matching and sorting (n=90): time 0.004249/13.69, allocations: 1.622 MB / 5.402 GB, free: 17.53 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/13.69, allocations: 115.8 kB / 5.402 GB, free: 17.39 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/13.69, allocations: 1.398 MB / 5.404 GB, free: 15.95 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/13.69, allocations: 45.7 kB / 5.404 GB, free: 15.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/13.69, allocations: 0.9714 MB / 5.405 GB, free: 14.92 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/13.69, allocations: 311.5 kB / 5.405 GB, free: 14.61 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/13.69, allocations: 24 kB / 5.405 GB, free: 14.59 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001202/13.69, allocations: 341.9 kB / 5.405 GB, free: 14.25 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/13.69, allocations: 430.4 kB / 5.406 GB, free: 13.82 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/13.69, allocations: 0.7836 MB / 5.407 GB, free: 12.89 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/13.69, allocations: 0.5499 MB / 5.407 GB, free: 12.34 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/13.69, allocations: 7.938 kB / 5.407 GB, free: 12.33 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003137/13.7, allocations: 1.415 MB / 5.409 GB, free: 10.89 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/13.7, allocations: 3.404 MB / 5.412 GB, free: 7.238 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/13.7, allocations: 8 kB / 5.412 GB, free: 7.23 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.762e-05/13.7, allocations: 12 kB / 5.412 GB, free: 7.219 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/13.7, allocations: 279.6 kB / 5.412 GB, free: 6.945 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/13.7, allocations: 15.94 kB / 5.412 GB, free: 6.93 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/13.7, allocations: 175.6 kB / 5.412 GB, free: 6.758 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/13.7, allocations: 59.98 kB / 5.412 GB, free: 6.699 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/13.7, allocations: 4 kB / 5.412 GB, free: 6.695 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002416/13.7, allocations: 1.223 MB / 5.414 GB, free: 5.465 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/13.7, allocations: 8.625 kB / 5.414 GB, free: 5.457 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/13.7, allocations: 19.94 kB / 5.414 GB, free: 5.438 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/13.71, allocations: 279.6 kB / 5.414 GB, free: 5.164 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/13.71, allocations: 15.94 kB / 5.414 GB, free: 5.148 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/13.71, allocations: 171.7 kB / 5.414 GB, free: 4.98 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/13.71, allocations: 59.98 kB / 5.414 GB, free: 4.922 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001486/13.71, allocations: 0.5608 MB / 5.415 GB, free: 4.352 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/13.71, allocations: 189.6 kB / 5.415 GB, free: 4.164 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/13.71, allocations: 1.205 MB / 5.416 GB, free: 2.945 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/13.71, allocations: 8 kB / 5.416 GB, free: 2.938 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/13.71, allocations: 4 kB / 5.416 GB, free: 2.934 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001954/13.71, allocations: 1.254 MB / 5.417 GB, free: 1.59 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.007894/13.72, allocations: 3.007 MB / 5.42 GB, free: 14.48 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/13.72, allocations: 0 / 5.42 GB, free: 14.48 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/13.72, allocations: 191.9 kB / 5.42 GB, free: 14.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/13.72, allocations: 48.83 kB / 5.42 GB, free: 14.24 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/13.72, allocations: 23.98 kB / 5.42 GB, free: 14.21 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/13.73, allocations: 1.433 MB / 5.422 GB, free: 12.65 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/13.73, allocations: 8.172 kB / 5.422 GB, free: 12.64 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/13.73, allocations: 1.865 MB / 5.424 GB, free: 10.69 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/13.73, allocations: 358.6 kB / 5.424 GB, free: 10.32 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/13.73, allocations: 19.98 kB / 5.424 GB, free: 10.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/13.73, allocations: 151.8 kB / 5.424 GB, free: 10.15 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/13.73, allocations: 64.84 kB / 5.424 GB, free: 10.09 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/13.73, allocations: 39.98 kB / 5.424 GB, free: 10.05 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002582/13.74, allocations: 1.079 MB / 5.425 GB, free: 8.949 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.9e-07/13.74, allocations: 0 / 5.425 GB, free: 8.949 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.006125/13.74, allocations: 1.326 MB / 5.427 GB, free: 7.621 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01214/13.75, allocations: 6.534 MB / 5.433 GB, free: 0.8555 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004405/13.76, allocations: 1.804 MB / 5.435 GB, free: 15.03 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/13.76, allocations: 0 / 5.435 GB, free: 15.03 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/13.76, allocations: 0.6341 MB / 5.435 GB, free: 14.39 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/13.77, allocations: 0.7901 MB / 5.436 GB, free: 13.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/13.78, allocations: 11.6 MB / 5.448 GB, free: 1.574 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.8674/14.65, allocations: 1.566 MB / 5.449 GB, free: 197.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.003063/14.65, allocations: 480.7 kB / 5.45 GB, free: 197.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/14.65, allocations: 0.814 MB / 5.45 GB, free: 197.6 MB / 1.214 GB Notification: Performance of SimCode: time 8.536e-06/14.65, allocations: 2.188 kB / 5.45 GB, free: 197.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/14.83, allocations: 90.64 MB / 5.539 GB, free: 196.7 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/14.83, allocations: 280 kB / 5.539 GB, free: 196.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.385/20.22, allocations: 6.656 kB / 5.539 GB, free: 196.4 MB / 1.214 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat does not exist to compare? outputFormat=mat