Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001081/0.001081, allocations: 180.8 kB / 366.7 MB, free: 1.629 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.952/1.952, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.000849/0.0008492, allocations: 88.55 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.651e-05, allocations: 4 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7486, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/2.038, allocations: 459.2 MB / 1.422 GB, free: 93.56 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/2.038, allocations: 108.1 kB / 1.422 GB, free: 93.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.613/6.651, allocations: 1.26 GB / 2.682 GB, free: 28.84 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.214e-06/6.651, allocations: 0 / 2.682 GB, free: 28.84 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004022/6.652, allocations: 91.78 kB / 2.682 GB, free: 28.75 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.007289/6.659, allocations: 2.918 MB / 2.684 GB, free: 25.76 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/6.659, allocations: 8.031 kB / 2.684 GB, free: 25.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/6.661, allocations: 0.5543 MB / 2.685 GB, free: 25.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/6.668, allocations: 3.354 MB / 2.688 GB, free: 21.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/6.669, allocations: 199 kB / 2.688 GB, free: 21.58 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/6.669, allocations: 111.9 kB / 2.689 GB, free: 21.47 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002655/6.672, allocations: 1.584 MB / 2.69 GB, free: 19.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002593/6.674, allocations: 1.774 MB / 2.692 GB, free: 18.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/6.674, allocations: 7.938 kB / 2.692 GB, free: 18.01 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/6.674, allocations: 7.953 kB / 2.692 GB, free: 18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/6.674, allocations: 40 kB / 2.692 GB, free: 17.96 MB / 0.9636 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.01426/6.689, allocations: 10.84 MB / 2.702 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/6.69, allocations: 1.415 MB / 2.704 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007588/6.691, allocations: 0.6174 MB / 2.704 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/6.692, allocations: 1.227 MB / 2.706 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009363/6.693, allocations: 0.6905 MB / 2.706 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001598/6.695, allocations: 139 kB / 2.706 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 5.21e-06/6.695, allocations: 0 / 2.706 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=106): time 0.003127/6.698, allocations: 1.482 MB / 2.708 GB, free: 440 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/6.698, allocations: 300 kB / 2.708 GB, free: 72 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/6.701, allocations: 1.943 MB / 2.71 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/6.702, allocations: 29.7 kB / 2.71 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/6.703, allocations: 1.192 MB / 2.711 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/6.703, allocations: 346.8 kB / 2.712 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.054e-05/6.703, allocations: 0 / 2.712 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001608/6.703, allocations: 361.9 kB / 2.712 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/6.704, allocations: 0.6404 MB / 2.713 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/6.706, allocations: 1.069 MB / 2.714 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/6.708, allocations: 0.8518 MB / 2.714 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/6.708, allocations: 0 / 2.714 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004269/6.712, allocations: 2.049 MB / 2.716 GB, free: 7.383 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001287/6.713, allocations: 2.871 MB / 2.719 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/6.713, allocations: 8 kB / 2.719 GB, free: 4.262 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/6.714, allocations: 52.84 kB / 2.719 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/6.715, allocations: 375.5 kB / 2.72 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000553/6.716, allocations: 0.6147 MB / 2.72 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/6.719, allocations: 211.7 kB / 2.721 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/6.719, allocations: 84 kB / 2.721 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/6.719, allocations: 7.938 kB / 2.721 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003743/6.723, allocations: 1.734 MB / 2.722 GB, free: 1.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/6.723, allocations: 11.94 kB / 2.722 GB, free: 1.152 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/6.723, allocations: 64.81 kB / 2.722 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/6.724, allocations: 368 kB / 2.723 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7801/7.504, allocations: 1.533 MB / 2.724 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/7.508, allocations: 198.1 kB / 2.724 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/7.508, allocations: 73.56 kB / 2.724 GB, free: 114.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005204/7.509, allocations: 178.2 kB / 2.725 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/7.509, allocations: 245.3 kB / 2.725 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/7.514, allocations: 1.753 MB / 2.727 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/7.514, allocations: 15.22 kB / 2.727 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/7.514, allocations: 1.031 kB / 2.727 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002851/7.517, allocations: 1.474 MB / 2.728 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009704/7.527, allocations: 4.276 MB / 2.732 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/7.527, allocations: 2.922 kB / 2.732 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/7.528, allocations: 241.2 kB / 2.732 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/7.528, allocations: 32.22 kB / 2.732 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/7.528, allocations: 29.62 kB / 2.732 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002983/7.528, allocations: 0.5636 MB / 2.733 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/7.528, allocations: 9.844 kB / 2.733 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/7.533, allocations: 2.716 MB / 2.736 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/7.535, allocations: 0.576 MB / 2.736 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/7.536, allocations: 11.69 kB / 2.736 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/7.537, allocations: 176 kB / 2.736 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/7.538, allocations: 85.7 kB / 2.737 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/7.538, allocations: 49.11 kB / 2.737 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002925/7.541, allocations: 1.461 MB / 2.738 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.5e-07/7.541, allocations: 0 / 2.738 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006279/7.547, allocations: 1.308 MB / 2.739 GB, free: 112.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002437/7.549, allocations: 1.241 MB / 2.74 GB, free: 112 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004561/7.554, allocations: 2.819 MB / 2.743 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/7.554, allocations: 9.172 kB / 2.743 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/7.555, allocations: 0.7403 MB / 2.744 GB, free: 111.6 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006617/7.562, allocations: 1.111 MB / 2.745 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/7.57, allocations: 3.799 MB / 2.749 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/7.572, allocations: 1.841 MB / 2.751 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004466/7.576, allocations: 0.8684 MB / 2.751 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/7.577, allocations: 158.2 kB / 2.752 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.462e-06/7.577, allocations: 0 / 2.752 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.1063/7.683, allocations: 51.2 MB / 2.802 GB, free: 107.6 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)