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.909/2.909, allocations: 287.5 MB / 302.4 MB, free: 8.395 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.001331/0.001331, allocations: 182.2 kB / 371 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.199/2.199, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009451/0.0009448, allocations: 96.36 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006511, allocations: 11.56 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2263, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.9954/1.222, allocations: 221.2 MB / 1.195 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.04155/1.263, allocations: 17.5 MB / 1.212 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/1.267, allocations: 75.66 kB / 1.212 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005016/1.273, allocations: 0.9311 MB / 1.213 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.284, allocations: 2.573 MB / 1.215 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01299/1.297, allocations: 2.868 MB / 1.218 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01135/1.309, allocations: 5.832 MB / 1.224 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004066/1.313, allocations: 1.481 MB / 1.225 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008295/1.321, allocations: 2.322 MB / 1.227 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004394/1.326, allocations: 1.533 MB / 1.229 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008483/1.326, allocations: 87.98 kB / 1.229 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008961/1.335, allocations: 2.226 MB / 1.231 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/1.337, allocations: 0.6423 MB / 1.232 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/1.338, allocations: 0.4887 MB / 1.232 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/1.346, allocations: 3.297 MB / 1.235 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.346, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.515e-06/1.346, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000104/1.347, allocations: 0 / 1.235 GB, free: 4.793 MB / 0.7605 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.007953/1.355, allocations: 2.594 MB / 1.238 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.355, allocations: 8.031 kB / 1.238 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006802/1.355, allocations: 206.9 kB / 1.238 GB, free: 1.914 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008/1.363, allocations: 0.8243 MB / 1.239 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/1.369, allocations: 1.691 MB / 1.241 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007494/1.37, allocations: 187 kB / 1.241 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006238/1.37, allocations: 151.9 kB / 1.241 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006011/1.376, allocations: 1.784 MB / 1.243 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/1.377, allocations: 3.938 kB / 1.243 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002428/1.377, allocations: 63.98 kB / 1.243 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.712e-05/1.377, allocations: 46.7 kB / 1.243 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006748/1.384, allocations: 1.568 MB / 1.244 GB, free: 11.47 MB / 0.7761 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.01883/1.403, allocations: 8.035 MB / 1.252 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/1.408, allocations: 2.011 MB / 1.254 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/1.41, allocations: 0.5504 MB / 1.255 GB, free: 76 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/1.412, allocations: 0.8111 MB / 1.255 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/1.415, allocations: 0.6063 MB / 1.256 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001298/1.416, allocations: 127.2 kB / 1.256 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=88): time 5.27e-06/1.416, allocations: 0 / 1.256 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=88): time 0.007487/1.424, allocations: 1.73 MB / 1.258 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/1.424, allocations: 141.5 kB / 1.258 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/1.428, allocations: 1.687 MB / 1.26 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/1.428, allocations: 49.7 kB / 1.26 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.429, allocations: 0.9714 MB / 1.261 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/1.43, allocations: 303.6 kB / 1.261 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.43, allocations: 20 kB / 1.261 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.43, allocations: 357.9 kB / 1.261 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/1.432, allocations: 482.3 kB / 1.262 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/1.435, allocations: 0.8634 MB / 1.263 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/1.437, allocations: 0.598 MB / 1.263 GB, free: 6.906 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/1.437, allocations: 4 kB / 1.263 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005746/1.443, allocations: 1.536 MB / 1.265 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003561/1.443, allocations: 371 kB / 1.265 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.443, allocations: 16 kB / 1.265 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/1.443, allocations: 16 kB / 1.265 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/1.446, allocations: 283.6 kB / 1.265 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.816e-05/1.446, allocations: 23.94 kB / 1.265 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/1.449, allocations: 172.3 kB / 1.265 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/1.449, allocations: 52 kB / 1.266 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.449, allocations: 4 kB / 1.266 GB, free: 4.312 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004996/1.454, allocations: 1.341 MB / 1.267 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-05/1.454, allocations: 12 kB / 1.267 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.348e-05/1.454, allocations: 19.94 kB / 1.267 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/1.456, allocations: 288 kB / 1.267 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-05/1.457, allocations: 19.92 kB / 1.267 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.459, allocations: 173.3 kB / 1.267 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/1.46, allocations: 51.98 kB / 1.267 GB, free: 2.41 MB / 0.7917 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,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.001477/1.461, allocations: 0.5593 MB / 1.268 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/1.462, allocations: 185.7 kB / 1.268 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/1.467, allocations: 1.275 MB / 1.269 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.467, allocations: 11.94 kB / 1.269 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.467, allocations: 4 kB / 1.269 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004169/1.471, allocations: 1.324 MB / 1.271 GB, free: 14.94 MB / 0.8073 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.01/1.481, allocations: 3.158 MB / 1.274 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.481, allocations: 3.938 kB / 1.274 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.483, allocations: 207.9 kB / 1.274 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/1.483, allocations: 44.83 kB / 1.274 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.483, allocations: 27.98 kB / 1.274 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/1.485, allocations: 1.417 MB / 1.275 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.485, allocations: 4 kB / 1.275 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00691/1.492, allocations: 1.915 MB / 1.277 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.494, allocations: 370.5 kB / 1.278 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003653/1.494, allocations: 16 kB / 1.278 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.496, allocations: 163.8 kB / 1.278 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.497, allocations: 68.86 kB / 1.278 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.497, allocations: 35.97 kB / 1.278 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002754/1.5, allocations: 1.13 MB / 1.279 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.71e-07/1.5, allocations: 0 / 1.279 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004775/1.504, allocations: 1.056 MB / 1.28 GB, free: 4.996 MB / 0.8073 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.009355/1.514, allocations: 3.023 MB / 1.283 GB, free: 2.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007203/1.521, allocations: 1.998 MB / 1.285 GB, free: 48 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.521, allocations: 0 / 1.285 GB, free: 48 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002458/1.524, allocations: 0.6542 MB / 1.286 GB, free: 15.38 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007228/1.531, allocations: 0.849 MB / 1.286 GB, free: 14.54 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04177/1.573, allocations: 12.55 MB / 1.299 GB, free: 1.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.575, allocations: 1.538 MB / 1.3 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003379/1.578, allocations: 455.5 kB / 1.301 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.58, allocations: 0.8234 MB / 1.301 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of SimCode: time 1.173e-06/1.58, allocations: 0 / 1.301 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1437/1.724, allocations: 50.83 MB / 1.351 GB, free: 12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003142/1.724, allocations: 288.8 kB / 1.351 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.841/6.565, allocations: 7.5 kB / 1.351 GB, free: 11.64 MB / 0.8855 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)