Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.53/2.53, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.002296/0.002296, allocations: 179.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.28/2.28, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 99.06 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004931, allocations: 20.06 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.668/6.869, allocations: 2.13 GB / 3.109 GB, free: 152.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/6.87, allocations: 110.9 kB / 3.109 GB, free: 152.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.83/18.7, allocations: 2.174 GB / 5.282 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.665e-06/18.7, allocations: 3.062 kB / 5.282 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004507/18.7, allocations: 62.02 kB / 5.282 GB, free: 114.2 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.01315/18.71, allocations: 3.083 MB / 5.285 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/18.71, allocations: 10.12 kB / 5.285 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/18.72, allocations: 205.9 kB / 5.286 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008607/18.72, allocations: 0.8021 MB / 5.286 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/18.73, allocations: 2.353 MB / 5.289 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/18.73, allocations: 119 kB / 5.289 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007537/18.74, allocations: 154.6 kB / 5.289 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/18.74, allocations: 1.675 MB / 5.291 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/18.74, allocations: 0 / 5.291 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/18.74, allocations: 61.81 kB / 5.291 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/18.74, allocations: 49.27 kB / 5.291 GB, free: 112 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/18.75, allocations: 1.342 MB / 5.292 GB, free: 112 MB / 0.9948 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.01729/18.76, allocations: 7.806 MB / 5.3 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/18.77, allocations: 1.85 MB / 5.301 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/18.77, allocations: 0.7546 MB / 5.302 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/18.77, allocations: 0.541 MB / 5.303 GB, free: 106 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001548/18.77, allocations: 132.6 kB / 5.303 GB, free: 106 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 5.46e-06/18.77, allocations: 3.812 kB / 5.303 GB, free: 106 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.006502/18.78, allocations: 1.547 MB / 5.304 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/18.78, allocations: 164.6 kB / 5.304 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/18.78, allocations: 1.419 MB / 5.306 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003548/18.78, allocations: 58.08 kB / 5.306 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/18.79, allocations: 0.9713 MB / 5.307 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000486/18.79, allocations: 312.1 kB / 5.307 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/18.79, allocations: 20.66 kB / 5.307 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001141/18.79, allocations: 351.4 kB / 5.308 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/18.79, allocations: 420.5 kB / 5.308 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/18.79, allocations: 0.8085 MB / 5.309 GB, free: 104 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/18.79, allocations: 0.5419 MB / 5.309 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/18.79, allocations: 2.812 kB / 5.309 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004853/18.8, allocations: 1.403 MB / 5.311 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008355/18.8, allocations: 3.502 MB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-05/18.8, allocations: 11.36 kB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/18.8, allocations: 15.22 kB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/18.8, allocations: 266.2 kB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/18.8, allocations: 16.06 kB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/18.8, allocations: 156.8 kB / 5.314 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/18.8, allocations: 58.52 kB / 5.315 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/18.8, allocations: 4.219 kB / 5.315 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004093/18.81, allocations: 1.207 MB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/18.81, allocations: 16.64 kB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/18.81, allocations: 19.14 kB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/18.81, allocations: 258.3 kB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/18.81, allocations: 24.47 kB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/18.81, allocations: 153.9 kB / 5.316 GB, free: 100 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/18.81, allocations: 64.09 kB / 5.316 GB, free: 100 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 () * Number of clocked 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.00191/18.81, allocations: 0.5603 MB / 5.317 GB, free: 99.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006646/18.82, allocations: 183.4 kB / 5.317 GB, free: 99.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/18.82, allocations: 1.152 MB / 5.318 GB, free: 99.65 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/18.82, allocations: 10.28 kB / 5.318 GB, free: 99.65 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/18.82, allocations: 3.953 kB / 5.318 GB, free: 99.64 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003376/18.82, allocations: 1.201 MB / 5.319 GB, free: 99.18 MB / 0.9948 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.009347/18.83, allocations: 2.869 MB / 5.322 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/18.83, allocations: 0 / 5.322 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/18.83, allocations: 184.3 kB / 5.322 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/18.83, allocations: 53.8 kB / 5.322 GB, free: 98.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/18.84, allocations: 32.03 kB / 5.322 GB, free: 98.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/18.84, allocations: 1.425 MB / 5.324 GB, free: 97.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/18.84, allocations: 2.812 kB / 5.324 GB, free: 97.38 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005558/18.84, allocations: 1.803 MB / 5.325 GB, free: 96.96 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/18.84, allocations: 346.5 kB / 5.326 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/18.84, allocations: 23.73 kB / 5.326 GB, free: 96.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002436/18.85, allocations: 154.6 kB / 5.326 GB, free: 96.76 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/18.85, allocations: 61.89 kB / 5.326 GB, free: 96.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/18.85, allocations: 32.94 kB / 5.326 GB, free: 96.76 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002418/18.85, allocations: 1.085 MB / 5.327 GB, free: 96.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.92e-07/18.85, allocations: 3.5 kB / 5.327 GB, free: 96.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007016/18.86, allocations: 1.38 MB / 5.328 GB, free: 96.44 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) * Number of clocked states: 0 () * 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.01402/18.87, allocations: 6.454 MB / 5.335 GB, free: 93.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006328/18.88, allocations: 1.818 MB / 5.337 GB, free: 93.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/18.88, allocations: 3.938 kB / 5.337 GB, free: 93.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/18.88, allocations: 0.5941 MB / 5.337 GB, free: 93.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006561/18.89, allocations: 0.8182 MB / 5.338 GB, free: 93.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/18.9, allocations: 11.73 MB / 5.349 GB, free: 84.69 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/18.91, allocations: 1.572 MB / 5.351 GB, free: 83.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003723/18.91, allocations: 472.8 kB / 5.351 GB, free: 83.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/18.91, allocations: 0.818 MB / 5.352 GB, free: 83.94 MB / 0.9948 GB Notification: Performance of SimCode: time 8.51e-07/18.91, allocations: 3.656 kB / 5.352 GB, free: 83.94 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1994/19.11, allocations: 92.02 MB / 5.442 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/19.11, allocations: 283.5 kB / 5.442 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/26.08, allocations: 0 / 5.442 GB, free: 32.96 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)