Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.307/2.307, allocations: 252.6 MB / 265.2 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 187.9 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001146, allocations: 90.02 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 0 / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1996, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.915/2.115, allocations: 451.1 MB / 1.335 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/2.115, allocations: 108.2 kB / 1.336 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.034/8.149, allocations: 1.231 GB / 2.566 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/8.149, allocations: 0 / 2.566 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006733/8.15, allocations: 83.86 kB / 2.567 GB, free: 7.285 MB / 0.8855 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.009917/8.16, allocations: 2.922 MB / 2.569 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/8.16, allocations: 8.031 kB / 2.569 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003944/8.164, allocations: 0.5388 MB / 2.57 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/8.175, allocations: 3.36 MB / 2.573 GB, free: 332 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/8.176, allocations: 267.5 kB / 2.573 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/8.177, allocations: 188 kB / 2.574 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006535/8.184, allocations: 2.014 MB / 2.576 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/8.184, allocations: 7.938 kB / 2.576 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/8.184, allocations: 64 kB / 2.576 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.769e-05/8.184, allocations: 44 kB / 2.576 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/8.19, allocations: 1.636 MB / 2.577 GB, free: 12.02 MB / 0.9011 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.02949/8.22, allocations: 11.06 MB / 2.588 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/8.223, allocations: 1.706 MB / 2.59 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/8.226, allocations: 0.6599 MB / 2.59 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/8.228, allocations: 1.235 MB / 2.592 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/8.23, allocations: 0.7747 MB / 2.592 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002168/8.232, allocations: 182.7 kB / 2.593 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 7.344e-06/8.232, allocations: 0 / 2.593 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=110): time 0.005502/8.238, allocations: 1.472 MB / 2.594 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/8.238, allocations: 337.4 kB / 2.594 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007082/8.245, allocations: 2.223 MB / 2.597 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005649/8.246, allocations: 57.7 kB / 2.597 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/8.248, allocations: 1.195 MB / 2.598 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008254/8.249, allocations: 382.5 kB / 2.598 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/8.249, allocations: 28 kB / 2.598 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002439/8.25, allocations: 361.9 kB / 2.598 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/8.252, allocations: 0.6521 MB / 2.599 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/8.255, allocations: 1.082 MB / 2.6 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/8.257, allocations: 0.8179 MB / 2.601 GB, free: 2.355 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/8.257, allocations: 7.938 kB / 2.601 GB, free: 2.348 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007254/8.265, allocations: 2.061 MB / 2.603 GB, free: 276 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.7262/8.991, allocations: 2.502 MB / 2.605 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.832e-05/8.991, allocations: 10.92 kB / 2.605 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/8.992, allocations: 51.98 kB / 2.605 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/8.995, allocations: 373.1 kB / 2.606 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005599/8.996, allocations: 0.5906 MB / 2.606 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/9, allocations: 257.3 kB / 2.607 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/9.001, allocations: 75.75 kB / 2.607 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/9.001, allocations: 6.906 kB / 2.607 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005535/9.007, allocations: 1.815 MB / 2.609 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/9.007, allocations: 12.11 kB / 2.609 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/9.007, allocations: 56.7 kB / 2.609 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/9.01, allocations: 370.1 kB / 2.609 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/9.012, allocations: 1.565 MB / 2.61 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/9.016, allocations: 239.6 kB / 2.611 GB, free: 105 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006747/9.017, allocations: 73.94 kB / 2.611 GB, free: 105 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (171): * Single equations (assignments): 165 * 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.0007812/9.018, allocations: 226.1 kB / 2.611 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009835/9.019, allocations: 263.2 kB / 2.611 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/9.025, allocations: 1.844 MB / 2.613 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/9.026, allocations: 14.44 kB / 2.613 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/9.026, allocations: 2.125 kB / 2.613 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00416/9.03, allocations: 1.518 MB / 2.615 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/9.044, allocations: 4.724 MB / 2.619 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/9.044, allocations: 3 kB / 2.619 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/9.046, allocations: 253.4 kB / 2.619 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/9.047, allocations: 39.58 kB / 2.619 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/9.047, allocations: 42.89 kB / 2.619 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003567/9.047, allocations: 0.5652 MB / 2.62 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/9.047, allocations: 5.969 kB / 2.62 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/9.054, allocations: 2.951 MB / 2.623 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/9.056, allocations: 0.6058 MB / 2.623 GB, free: 102 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007099/9.057, allocations: 34.77 kB / 2.624 GB, free: 102 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/9.06, allocations: 203.1 kB / 2.624 GB, free: 102 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/9.061, allocations: 94.67 kB / 2.624 GB, free: 102 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/9.061, allocations: 51.8 kB / 2.624 GB, free: 102 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004463/9.065, allocations: 1.741 MB / 2.626 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.52e-07/9.065, allocations: 1.219 kB / 2.626 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007761/9.073, allocations: 1.348 MB / 2.627 GB, free: 101.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (121): * Single equations (assignments): 112 * 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.003612/9.077, allocations: 1.245 MB / 2.628 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008699/9.085, allocations: 2.93 MB / 2.631 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/9.086, allocations: 3.031 kB / 2.631 GB, free: 101.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/9.088, allocations: 0.7882 MB / 2.632 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/9.1, allocations: 1.315 MB / 2.633 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/9.114, allocations: 3.893 MB / 2.637 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/9.117, allocations: 1.846 MB / 2.639 GB, free: 99.33 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007983/9.125, allocations: 0.91 MB / 2.64 GB, free: 99.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009195/9.126, allocations: 162.5 kB / 2.64 GB, free: 99.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.312e-06/9.126, allocations: 1.094 kB / 2.64 GB, free: 99.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.1792/9.305, allocations: 63.56 MB / 2.702 GB, free: 96.7 MB / 0.9167 GB