Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 289.7 MB / 302.3 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 175 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008921/0.000892, allocations: 88.83 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.109e-05/7.12e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.309, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.17/6.479, allocations: 2.131 GB / 3.111 GB, free: 62.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/6.479, allocations: 105.9 kB / 3.111 GB, free: 62.47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.991/15.47, allocations: 2.171 GB / 5.283 GB, free: 95.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.513e-06/15.47, allocations: 0 / 5.283 GB, free: 95.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003466/15.47, allocations: 70.19 kB / 5.283 GB, free: 95.7 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.007073/15.48, allocations: 2.544 MB / 5.285 GB, free: 94.15 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/15.48, allocations: 13.28 kB / 5.285 GB, free: 94.15 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006038/15.48, allocations: 203.4 kB / 5.286 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005385/15.48, allocations: 0.7967 MB / 5.286 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006096/15.49, allocations: 2.329 MB / 5.289 GB, free: 92.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/15.49, allocations: 118.8 kB / 5.289 GB, free: 92.69 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/15.49, allocations: 164.3 kB / 5.289 GB, free: 92.63 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/15.49, allocations: 1.593 MB / 5.29 GB, free: 91.85 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/15.49, allocations: 0 / 5.29 GB, free: 91.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/15.49, allocations: 59.12 kB / 5.29 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/15.49, allocations: 58.83 kB / 5.291 GB, free: 91.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/15.49, allocations: 1.195 MB / 5.292 GB, free: 91.34 MB / 0.9948 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.009548/15.5, allocations: 7.792 MB / 5.299 GB, free: 85.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/15.51, allocations: 1.715 MB / 5.301 GB, free: 84.32 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/15.51, allocations: 443.4 kB / 5.301 GB, free: 84.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009935/15.51, allocations: 0.7544 MB / 5.302 GB, free: 83.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/15.51, allocations: 479.9 kB / 5.303 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/15.51, allocations: 138.7 kB / 5.303 GB, free: 83.13 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 3.747e-06/15.51, allocations: 0 / 5.303 GB, free: 83.13 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.001903/15.51, allocations: 0.9554 MB / 5.304 GB, free: 82.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/15.51, allocations: 172.7 kB / 5.304 GB, free: 82.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/15.51, allocations: 1.403 MB / 5.305 GB, free: 81.96 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/15.51, allocations: 44.64 kB / 5.305 GB, free: 81.92 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/15.51, allocations: 0.9738 MB / 5.306 GB, free: 81.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/15.51, allocations: 306.2 kB / 5.306 GB, free: 80.94 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/15.51, allocations: 26.97 kB / 5.306 GB, free: 80.92 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001343/15.51, allocations: 348.2 kB / 5.307 GB, free: 80.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/15.52, allocations: 351.9 kB / 5.307 GB, free: 80.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/15.52, allocations: 0.7498 MB / 5.308 GB, free: 79.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/15.52, allocations: 489.5 kB / 5.308 GB, free: 79.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/15.52, allocations: 3.938 kB / 5.308 GB, free: 79.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00255/15.52, allocations: 1.276 MB / 5.31 GB, free: 79.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001125/15.52, allocations: 3.505 MB / 5.313 GB, free: 75.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/15.52, allocations: 10.44 kB / 5.313 GB, free: 75.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/15.52, allocations: 14.25 kB / 5.313 GB, free: 75.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/15.52, allocations: 264.7 kB / 5.313 GB, free: 75.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-05/15.52, allocations: 18.12 kB / 5.313 GB, free: 75.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/15.52, allocations: 161.9 kB / 5.313 GB, free: 75.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/15.52, allocations: 51.11 kB / 5.314 GB, free: 75.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/15.52, allocations: 3.875 kB / 5.314 GB, free: 75.35 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/15.53, allocations: 1.092 MB / 5.315 GB, free: 74.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/15.53, allocations: 14.66 kB / 5.315 GB, free: 74.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/15.53, allocations: 15.38 kB / 5.315 GB, free: 74.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/15.53, allocations: 262.3 kB / 5.315 GB, free: 74.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/15.53, allocations: 31.86 kB / 5.315 GB, free: 74.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/15.53, allocations: 150 kB / 5.315 GB, free: 74.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/15.53, allocations: 51.56 kB / 5.315 GB, free: 74.85 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0002941/15.53, allocations: 184.5 kB / 5.315 GB, free: 74.68 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/15.53, allocations: 187.3 kB / 5.315 GB, free: 74.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/15.53, allocations: 1.033 MB / 5.316 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/15.53, allocations: 11.5 kB / 5.316 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/15.53, allocations: 0 / 5.316 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/15.53, allocations: 1.077 MB / 5.318 GB, free: 73.46 MB / 0.9948 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.004482/15.54, allocations: 2.835 MB / 5.32 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/15.54, allocations: 7 kB / 5.32 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/15.54, allocations: 178.2 kB / 5.32 GB, free: 72.03 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/15.54, allocations: 44.64 kB / 5.321 GB, free: 72.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/15.54, allocations: 30.5 kB / 5.321 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000972/15.54, allocations: 1.416 MB / 5.322 GB, free: 70.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/15.54, allocations: 4 kB / 5.322 GB, free: 70.63 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/15.54, allocations: 1.613 MB / 5.324 GB, free: 69.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007603/15.54, allocations: 347.3 kB / 5.324 GB, free: 69.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/15.54, allocations: 19.69 kB / 5.324 GB, free: 69.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/15.54, allocations: 152.3 kB / 5.324 GB, free: 69.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/15.54, allocations: 77.25 kB / 5.324 GB, free: 69.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/15.54, allocations: 28.3 kB / 5.324 GB, free: 69.48 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001496/15.55, allocations: 1.066 MB / 5.325 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.4e-07/15.55, allocations: 0 / 5.325 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004647/15.55, allocations: 1.376 MB / 5.326 GB, free: 68.63 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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 (88): * Single equations (assignments): 85 * 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.007883/15.56, allocations: 6.223 MB / 5.333 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002711/15.56, allocations: 1.693 MB / 5.334 GB, free: 64.47 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/15.56, allocations: 5 kB / 5.334 GB, free: 64.47 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/15.56, allocations: 0.5363 MB / 5.335 GB, free: 64.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/15.57, allocations: 0.8014 MB / 5.336 GB, free: 64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/15.57, allocations: 3.516 MB / 5.339 GB, free: 61.07 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009181/15.57, allocations: 1.57 MB / 5.34 GB, free: 59.79 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002755/15.58, allocations: 0.6846 MB / 5.341 GB, free: 59.32 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008471/15.58, allocations: 0.788 MB / 5.342 GB, free: 58.6 MB / 0.9948 GB Notification: Performance of SimCode: time 7.51e-07/15.58, allocations: 0 / 5.342 GB, free: 58.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8996/16.48, allocations: 103.4 MB / 5.443 GB, free: 119 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/16.48, allocations: 245 kB / 5.443 GB, free: 118.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.215/22.69, allocations: 2.562 kB / 5.443 GB, free: 118.7 MB / 1.01 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)