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.261/2.261, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001124/0.001124, allocations: 184.9 kB / 492.3 MB, free: 0.6094 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.759/1.759, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008925/0.0008926, allocations: 99.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.382e-05/4.384e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4074, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.37/7.777, allocations: 1.963 GB / 3.176 GB, free: 363.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/7.777, allocations: 103.1 kB / 3.176 GB, free: 363.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.699/16.48, allocations: 2.192 GB / 5.368 GB, free: 171.2 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.527e-06/16.48, allocations: 0 / 5.368 GB, free: 171.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0006034/16.48, allocations: 62.3 kB / 5.368 GB, free: 171.2 MB / 1.198 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.009825/16.49, allocations: 2.493 MB / 5.37 GB, free: 170.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/16.49, allocations: 11.44 kB / 5.37 GB, free: 170.6 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009413/16.49, allocations: 209.6 kB / 5.37 GB, free: 170.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006705/16.49, allocations: 0.8804 MB / 5.371 GB, free: 170.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008711/16.5, allocations: 2.335 MB / 5.373 GB, free: 170 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/16.5, allocations: 111.2 kB / 5.374 GB, free: 170 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007801/16.5, allocations: 148.3 kB / 5.374 GB, free: 170 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/16.51, allocations: 1.578 MB / 5.375 GB, free: 169.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/16.51, allocations: 7.719 kB / 5.375 GB, free: 169.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/16.51, allocations: 63.09 kB / 5.375 GB, free: 169.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/16.51, allocations: 51.84 kB / 5.375 GB, free: 169.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/16.51, allocations: 1.212 MB / 5.376 GB, free: 169.8 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.01353/16.53, allocations: 7.914 MB / 5.384 GB, free: 165.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/16.53, allocations: 1.717 MB / 5.386 GB, free: 164.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007262/16.53, allocations: 457 kB / 5.386 GB, free: 164.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/16.53, allocations: 0.7585 MB / 5.387 GB, free: 163.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008354/16.53, allocations: 496.6 kB / 5.388 GB, free: 163.8 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00124/16.53, allocations: 127.6 kB / 5.388 GB, free: 163.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=90): time 7.464e-06/16.53, allocations: 0 / 5.388 GB, free: 163.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=90): time 0.002341/16.53, allocations: 0.9813 MB / 5.389 GB, free: 163.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/16.53, allocations: 114.3 kB / 5.389 GB, free: 163.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/16.54, allocations: 1.378 MB / 5.39 GB, free: 163.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/16.54, allocations: 48.88 kB / 5.39 GB, free: 163.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/16.54, allocations: 0.9596 MB / 5.391 GB, free: 163 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/16.54, allocations: 318 kB / 5.391 GB, free: 162.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/16.54, allocations: 23.09 kB / 5.391 GB, free: 162.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/16.54, allocations: 345.1 kB / 5.392 GB, free: 162.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/16.54, allocations: 353.9 kB / 5.392 GB, free: 162.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/16.54, allocations: 0.7021 MB / 5.393 GB, free: 162.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006601/16.54, allocations: 474.1 kB / 5.393 GB, free: 162.1 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/16.54, allocations: 5.688 kB / 5.393 GB, free: 162.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002178/16.54, allocations: 1.258 MB / 5.394 GB, free: 161.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000713/16.54, allocations: 3.414 MB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/16.54, allocations: 7.406 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/16.54, allocations: 13.34 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/16.54, allocations: 278.7 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/16.54, allocations: 17.88 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/16.55, allocations: 178.9 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/16.55, allocations: 54.08 kB / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/16.55, allocations: 0 / 5.398 GB, free: 158.4 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/16.55, allocations: 1.075 MB / 5.399 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/16.55, allocations: 9.438 kB / 5.399 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/16.55, allocations: 17.56 kB / 5.399 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/16.55, allocations: 270 kB / 5.4 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/16.55, allocations: 23.08 kB / 5.4 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/16.55, allocations: 176.4 kB / 5.4 GB, free: 158.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/16.55, allocations: 59.66 kB / 5.4 GB, free: 158.3 MB / 1.198 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 () * 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.0002807/16.55, allocations: 176.1 kB / 5.4 GB, free: 158.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/16.55, allocations: 183.8 kB / 5.4 GB, free: 158.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/16.55, allocations: 1.054 MB / 5.401 GB, free: 158 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/16.55, allocations: 16.48 kB / 5.401 GB, free: 158 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/16.55, allocations: 3.938 kB / 5.401 GB, free: 158 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/16.55, allocations: 1.102 MB / 5.402 GB, free: 157.5 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.005191/16.56, allocations: 2.946 MB / 5.405 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/16.56, allocations: 3.969 kB / 5.405 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/16.56, allocations: 192.2 kB / 5.405 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/16.56, allocations: 45.06 kB / 5.405 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/16.56, allocations: 24.33 kB / 5.405 GB, free: 156.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/16.56, allocations: 1.422 MB / 5.407 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/16.56, allocations: 0 / 5.407 GB, free: 155.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/16.56, allocations: 1.631 MB / 5.408 GB, free: 155.2 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008711/16.57, allocations: 357 kB / 5.409 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/16.57, allocations: 25.08 kB / 5.409 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/16.57, allocations: 152 kB / 5.409 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/16.57, allocations: 64.28 kB / 5.409 GB, free: 155 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-05/16.57, allocations: 32.53 kB / 5.409 GB, free: 155 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001495/16.57, allocations: 1.061 MB / 5.41 GB, free: 154.9 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.2e-07/16.57, allocations: 3.5 kB / 5.41 GB, free: 154.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004494/16.57, allocations: 1.327 MB / 5.411 GB, free: 154.8 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) * 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.008821/16.58, allocations: 6.27 MB / 5.418 GB, free: 152.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002842/16.58, allocations: 1.628 MB / 5.419 GB, free: 152 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/16.59, allocations: 0 / 5.419 GB, free: 152 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/16.59, allocations: 0.5538 MB / 5.42 GB, free: 151.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/16.59, allocations: 0.7871 MB / 5.42 GB, free: 151.8 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/16.6, allocations: 3.488 MB / 5.424 GB, free: 151 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/16.6, allocations: 1.57 MB / 5.425 GB, free: 150.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.003721/16.61, allocations: 0.6873 MB / 5.426 GB, free: 150.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/16.61, allocations: 0.7917 MB / 5.427 GB, free: 150.2 MB / 1.198 GB Notification: Performance of SimCode: time 7.81e-07/16.61, allocations: 0 / 5.427 GB, free: 150.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1834/16.79, allocations: 102 MB / 5.526 GB, free: 147.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/16.79, allocations: 244.1 kB / 5.527 GB, free: 146.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.932/22.72, allocations: 0 / 5.527 GB, free: 146.7 MB / 1.198 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