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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 100 kB / 15.05 MB, free: 1.105 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.001657/0.001657, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.422/2.422, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 19.75 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.7668/1.041, allocations: 199 MB / 0.9816 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02863/1.069, allocations: 17.61 MB / 0.9988 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004844/1.074, allocations: 71.75 kB / 0.9989 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00593/1.08, allocations: 1.242 MB / 1 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01535/1.096, allocations: 3.379 MB / 1.003 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01122/1.107, allocations: 3.057 MB / 1.006 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008591/1.116, allocations: 3.054 MB / 1.009 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/1.119, allocations: 1.501 MB / 1.011 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006767/1.126, allocations: 2.066 MB / 1.013 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/1.129, allocations: 1.094 MB / 1.014 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004443/1.129, allocations: 82.41 kB / 1.014 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005877/1.135, allocations: 1.896 MB / 1.016 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.136, allocations: 0.5925 MB / 1.016 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/1.137, allocations: 492.8 kB / 1.017 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/1.144, allocations: 3.116 MB / 1.02 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/1.144, allocations: 0 / 1.02 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/1.144, allocations: 2.812 kB / 1.02 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.579e-05/1.144, allocations: 0 / 1.02 GB, free: 5.18 MB / 0.7325 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.0066/1.15, allocations: 2.542 MB / 1.022 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.15, allocations: 8.094 kB / 1.022 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003662/1.151, allocations: 212.4 kB / 1.023 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/1.156, allocations: 0.8363 MB / 1.023 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/1.16, allocations: 1.715 MB / 1.025 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/1.16, allocations: 180 kB / 1.025 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/1.161, allocations: 163.5 kB / 1.025 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003529/1.164, allocations: 1.76 MB / 1.027 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/1.164, allocations: 3.094 kB / 1.027 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/1.164, allocations: 57.69 kB / 1.027 GB, free: 240 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.517e-05/1.165, allocations: 53.36 kB / 1.027 GB, free: 232 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/1.168, allocations: 1.552 MB / 1.029 GB, free: 15.47 MB / 0.7481 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.01223/1.18, allocations: 8.094 MB / 1.037 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/1.183, allocations: 2.027 MB / 1.039 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/1.185, allocations: 0.6401 MB / 1.039 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/1.186, allocations: 0.5947 MB / 1.04 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001293/1.187, allocations: 123.2 kB / 1.04 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/1.187, allocations: 0 / 1.04 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88): time 0.004319/1.192, allocations: 1.727 MB / 1.042 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.192, allocations: 137.5 kB / 1.042 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/1.194, allocations: 1.675 MB / 1.043 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.194, allocations: 49.7 kB / 1.044 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.195, allocations: 0.9637 MB / 1.044 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/1.196, allocations: 311.5 kB / 1.045 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/1.196, allocations: 24 kB / 1.045 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.196, allocations: 353.9 kB / 1.045 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/1.197, allocations: 478.3 kB / 1.046 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.198, allocations: 0.8508 MB / 1.046 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.199, allocations: 0.5941 MB / 1.047 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.199, allocations: 0 / 1.047 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00322/1.203, allocations: 1.536 MB / 1.048 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001388/1.204, allocations: 3.407 MB / 1.052 GB, free: 7.727 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/1.204, allocations: 11.98 kB / 1.052 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/1.204, allocations: 23.94 kB / 1.052 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/1.205, allocations: 287.6 kB / 1.052 GB, free: 7.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/1.205, allocations: 15.94 kB / 1.052 GB, free: 7.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/1.207, allocations: 176.3 kB / 1.052 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.208, allocations: 51.98 kB / 1.052 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.208, allocations: 7.953 kB / 1.052 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002749/1.21, allocations: 1.333 MB / 1.054 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/1.21, allocations: 15.98 kB / 1.054 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.21, allocations: 12 kB / 1.054 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.212, allocations: 284 kB / 1.054 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.212, allocations: 19.92 kB / 1.054 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.214, allocations: 172.4 kB / 1.054 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.214, allocations: 55.98 kB / 1.054 GB, free: 5.281 MB / 0.7637 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,uHea.y,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 135 * 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.001292/1.215, allocations: 0.5592 MB / 1.055 GB, free: 4.711 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/1.216, allocations: 189.6 kB / 1.055 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/1.218, allocations: 1.26 MB / 1.056 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.218, allocations: 12 kB / 1.056 GB, free: 3.242 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.219, allocations: 3.984 kB / 1.056 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002389/1.221, allocations: 1.301 MB / 1.057 GB, free: 1.848 MB / 0.7637 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.006634/1.228, allocations: 3.212 MB / 1.061 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.228, allocations: 0 / 1.061 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.229, allocations: 203.9 kB / 1.061 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/1.229, allocations: 60.7 kB / 1.061 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/1.229, allocations: 23.98 kB / 1.061 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/1.23, allocations: 1.44 MB / 1.062 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.23, allocations: 4.031 kB / 1.062 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/1.234, allocations: 1.97 MB / 1.064 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.236, allocations: 362.6 kB / 1.065 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.236, allocations: 20 kB / 1.065 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.237, allocations: 171.7 kB / 1.065 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.237, allocations: 68.8 kB / 1.065 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/1.237, allocations: 39.97 kB / 1.065 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00173/1.239, allocations: 1.119 MB / 1.066 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.61e-07/1.239, allocations: 4 kB / 1.066 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003112/1.242, allocations: 1.052 MB / 1.067 GB, free: 7.723 MB / 0.7794 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,uHea.y) * 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.005564/1.248, allocations: 3.313 MB / 1.07 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004124/1.252, allocations: 1.991 MB / 1.072 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.252, allocations: 4 kB / 1.072 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/1.253, allocations: 0.654 MB / 1.073 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/1.257, allocations: 0.8376 MB / 1.074 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.272, allocations: 11.63 MB / 1.085 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.273, allocations: 1.577 MB / 1.086 GB, free: 3.297 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002444/1.276, allocations: 467.4 kB / 1.087 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.277, allocations: 0.8234 MB / 1.088 GB, free: 2.012 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.277, allocations: 4 kB / 1.088 GB, free: 2.008 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/1.598, allocations: 49.6 MB / 1.136 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/1.598, allocations: 276.2 kB / 1.136 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/5.513, allocations: 3.281 kB / 1.136 GB, free: 0.7891 MB / 0.8419 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) Environment - environmentSimulation: